Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:08:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mem_cgroup_page_nodeinfo

Proto:static struct mem_cgroup_per_node *mem_cgroup_page_nodeinfo(struct mem_cgroup *memcg, struct page *page)

Type:struct mem_cgroup_per_node

Parameter:

TypeParameterName
struct mem_cgroup *memcg
struct page *page
495  nid = page_to_nid(page)
497  Return nodeinfo[nid]
Caller
NameDescribe
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