mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
mm/page-writeback: update the comment of Dirty position control
As the value of pos_ratio_polynom() clamp between 0 and 2LL << RATELIMIT_CALC_SHIFT, the global control line should be consistent with it. Link: https://lkml.kernel.org/r/20210511103606.3732-1-wuchi.zero@gmail.com Signed-off-by: Chi Wu <wuchi.zero@gmail.com> Reviewed-by: Jan Kara <jack@suse.cz> Cc: Jens Axboe <axboe@fb.com> Cc: Howard Cochran <hcochran@kernelspring.com> Cc: Miklos Szeredi <mszeredi@redhat.com> Cc: Sedat Dilek <sedat.dilek@gmail.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ab19939a6a
commit
0323155437
@ -845,7 +845,7 @@ static long long pos_ratio_polynom(unsigned long setpoint,
|
||||
* ^ pos_ratio
|
||||
* |
|
||||
* | |<===== global dirty control scope ======>|
|
||||
* 2.0 .............*
|
||||
* 2.0 * * * * * * *
|
||||
* | .*
|
||||
* | . *
|
||||
* | . *
|
||||
|
Loading…
Reference in New Issue
Block a user