Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:If kmemcg is enabled, the buddy allocator will set PageKmemcg() on* pages allocated with __GFP_ACCOUNT. It gets cleared on page free.

Proto:static inline __attribute__((__always_inline__)) int PageKmemcg(struct page *page)

Type:int

Parameter:

TypeParameterName
struct page *page
771  Return (* If the page is neither PageSlab nor mappable to userspace, * the value stored here may help determine what this page * is used for. See page-flags.h for a list of page types * which are currently stored here. & (0xf0000000 | 0x00000200)) == 0xf0000000
Caller
NameDescribe
free_pages_prepare
uncharge_page