Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wb_max_pause

Proto:static unsigned long wb_max_pause(struct bdi_writeback *wb, unsigned long wb_dirty)

Type:unsigned long

Parameter:

TypeParameterName
struct bdi_writeback *wb
unsigned longwb_dirty
1422  bw = urther smoothed write bw, > 0
1432  t = wb_dirty / (1 + bw / undup_pow_of_two - round the given value up to nearest power of two*@n: parameter* round the given value up to the nearest power of two* - the result is undefined when n == 0* - this can be used to initialise global variables from constant data(1 + HZ / 8) )
1433  t++
1435  Return min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, t, Sleep at most 200ms at a time in balance_dirty_pages().)
Caller
NameDescribe
balance_dirty_pagesalance_dirty_pages() must be called by processes which are generating dirty* data