Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mod_memcg_page_state - update page state statistics*@page: the page*@idx: page state item to account*@val: number of pages (positive or negative)* The @page must be locked or the caller must use lock_page_memcg()* to prevent double accounting when the

Proto:static inline void __mod_memcg_page_state(struct page *page, int idx, int val)

Type:void

Parameter:

TypeParameterName
struct page *page
intidx
intval
646  If mem_cgroup Then __mod_memcg_state - update cgroup memory statistics*@memcg: the memory cgroup*@idx: the stat item - can be enum memcg_stat_item or enum node_stat_item*@val: delta to add to the counter, can be negative