函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\mempolicy.h Create Date:2022-07-27 06:53:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mpol_cond_put

函数原型:static inline void mpol_cond_put(struct mempolicy *pol)

返回类型:void

参数:

类型参数名称
struct mempolicy *pol
83  如果Does mempolicy pol need explicit unref after use?* Currently only needed for shared policies.Slow path of a mpol destructor.
调用者
名称描述
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