Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-28 14:10:11
Last Modify:2022-05-23 13:25:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:After a task dirtied this many pages, balance_dirty_pages_ratelimited()* will look to see if it needs to start dirty throttling.* If dirty_poll_interval is too low, big NUMA machines will call the expensive* global_zone_page_state() too often

Proto:static unsigned long dirty_poll_interval(unsigned long dirty, unsigned long thresh)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longdirty
unsigned longthresh
1413  If thresh > dirty Then Return 1UL << log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (thresh - dirty) >> 1
1416  Return 1
Caller
NameDescribe
balance_dirty_pagesalance_dirty_pages() must be called by processes which are generating dirty* data