函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

函数原型:static inline __attribute__((__always_inline__)) int PageKmemcg(struct page *page)

返回类型:int

参数:

类型参数名称
struct page *page
771  返回:* 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
调用者
名称描述
free_pages_prepare
uncharge_page
__ClearPageKmemcgIf kmemcg is enabled, the buddy allocator will set PageKmemcg() on* pages allocated with __GFP_ACCOUNT. It gets cleared on page free.