Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Check if the page's nid is in qp->nmask.* If MPOL_MF_INVERT is set in qp->flags, check if the nid is* in the invert of qp->nmask.

Proto:static inline bool queue_pages_required(struct page *page, struct queue_pages *qp)

Type:bool

Parameter:

TypeParameterName
struct page *page
struct queue_pages *qp
427  nid = page_to_nid(page)
428  flags = flags
430  Return No static inline type checking - see Subtlety (1) above. (nid, * nmask) == Not (flags & Invert check for nodemask )
Caller
NameDescribe
queue_pages_pmdqueue_pages_pmd() has four possible return values:* 0 - pages are placed on the right node or queued successfully
queue_pages_pte_rangeScan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do
queue_pages_hugetlb