Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page_alloc.c Create Date:2022-07-28 15:04:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void drain_local_pages(struct zone *zone)

Type:void

Parameter:

TypeParameterName
struct zone *zone
2847  cpu = smp_processor_id()
2849  If zone Then Drain 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  Else 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.
Caller
NameDescribe
swsusp_save
drain_local_pages_wq