Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dec_lruvec_page_state

Proto:static inline void dec_lruvec_page_state(struct page *page, enum node_stat_item idx)

Type:void

Parameter:

TypeParameterName
struct page *page
enum node_stat_itemidx
1272  mod_lruvec_page_state(page, idx, - 1)
Caller
NameDescribe
account_page_cleanedHelper function for deaccounting dirty page without writeback.* Caller must hold lock_page_memcg().
clear_page_dirty_for_ioClear a page's dirty flag, while caring for dirty memory accounting.* Returns true if the page was previously dirty.* This is for preparing to put the page under writeout. We leave the page* tagged as dirty in the xarray so that a concurrent write-for-sync