函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-27 16:34:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Spill all of this CPU's per-cpu pages back into the buddy allocator.* The CPU has to be pinned. When zone parameter is non-NULL, spill just* the single zone's pages.

函数原型:void drain_local_pages(struct zone *zone)

返回类型:void

参数:

类型参数名称
struct zone *zone
2847  cpu等于当前cpu ID()
2849  如果zoneDrain pcplists of the indicated processor and zone.* The processor must either be the current processor and the* thread pinned to the current processor or a processor that* is not online.
2851  否则Drain pcplists of all zones on the indicated processor.* The processor must either be the current processor and the* thread pinned to the current processor or a processor that* is not online.
调用者
名称描述
swsusp_save
drain_local_pages_wq