函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-27 17:43:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mem_cgroup_page_nodeinfo

函数原型:static struct mem_cgroup_per_node *mem_cgroup_page_nodeinfo(struct mem_cgroup *memcg, struct page *page)

返回类型:struct mem_cgroup_per_node

参数:

类型参数名称
struct mem_cgroup *memcg
struct page *page
495  nid等于page_to_nid(page)
497  返回:nodeinfo[nid]
调用者
名称描述
mem_cgroup_update_tree
mem_cgroup_page_lruvecmem_cgroup_page_lruvec - return lruvec for isolating/putting an LRU page*@page: the page*@pgdat: pgdat of the page* This function is only safe when following the LRU page isolation* and putback protocol: the LRU lock must be held, and the page must