Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\mempolicy.c Create Date:2022-07-28 15:32:47
Last Modify:2020-03-17 22:28:11 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Do dynamic interleaving for a process

Proto:static unsigned interleave_nodes(struct mempolicy *policy)

Type:unsigned

Parameter:

TypeParameterName
struct mempolicy *policy
1844  me = current process
1846  next = Find the next present node in src, starting after node n, wrapping around to* the first node in src if needed. Returns MAX_NUMNODES if src is empty.(il_prev, interleave/bind )
1847  If next < MAX_NUMNODES Then il_prev = next
1849  Return next
Caller
NameDescribe
mempolicy_slab_nodeDepending on the memory policy provide a node from which to allocate the* next slab entry.
interleave_nidDetermine a node number for interleave
alloc_pages_currentalloc_pages_current - Allocate pages.*@gfp:* %GFP_USER user allocation,* %GFP_KERNEL kernel allocation,* %GFP_HIGHMEM highmem allocation,* %GFP_FS don't call back into a file system.* %GFP_ATOMIC don't sleep.