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:drain_local_pages_wq

Proto:static void drain_local_pages_wq(struct work_struct *work)

Type:void

Parameter:

TypeParameterName
struct work_struct *work
2859  drain = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structpcpu_drain, work)
2868  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
2869  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.
2870  preempt_enable()