Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mempolicy.h Create Date:2022-07-28 05:53:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mpol_cond_put

Proto:static inline void mpol_cond_put(struct mempolicy *pol)

Type:void

Parameter:

TypeParameterName
struct mempolicy *pol
83  If Does mempolicy pol need explicit unref after use?* Currently only needed for shared policies. Then Slow path of a mpol destructor.
Caller
NameDescribe
dequeue_huge_page_vma
alloc_buddy_huge_page_with_mpolUse the VMA's mpolicy to allocate a huge page from the buddy.
alloc_huge_page_vmamempolicy aware migration callback
do_get_mempolicyRetrieve NUMA policy
vma_policy_mof
alloc_pages_vmaalloc_pages_vma - Allocate a page for a VMA.*@gfp:* %GFP_USER user allocation.* %GFP_KERNEL kernel allocations,* %GFP_HIGHMEM highmem/user allocations,* %GFP_FS allocation should not call back into a file system.* %GFP_ATOMIC don't sleep.
mpol_misplacedmpol_misplaced - check whether current page node is valid in policy*@page: page to be checked*@vma: vm area where page mapped*@addr: virtual address where page mapped* Lookup current policy node id for vma,addr and "compare to" page's* node id