Skip to content

Commit

Permalink
mm/page-writeback: update the comment of Dirty position control
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Chi Wu <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Howard Cochran <[email protected]>
Cc: Miklos Szeredi <[email protected]>
Cc: Sedat Dilek <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ChiWu-Zero authored and torvalds committed Jun 29, 2021
1 parent ab19939 commit 0323155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/page-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ static long long pos_ratio_polynom(unsigned long setpoint,
* ^ pos_ratio
* |
* | |<===== global dirty control scope ======>|
* 2.0 .............*
* 2.0 * * * * * * *
* | .*
* | . *
* | . *
Expand Down

0 comments on commit 0323155

Please sign in to comment.