diff options
| author | Chen Wandun <[email protected]> | 2022-04-28 23:15:57 -0700 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-04-28 23:15:57 -0700 |
| commit | 21f0dd88f23dc9dc46b781f8ec9acf975dca4e6e (patch) | |
| tree | 8c9d6dc292a5720ebf79856a45db17059901148b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | c7c4ab859642830a14c45785ca7866659b65fc44 (diff) | |
mm: rework calculation of bdi_min_ratio in bdi_set_min_ratio
In function bdi_set_min_ratio, min_ratio is unsigned int, it will
result underflow when setting min_ratio below bdi->min_ratio, it
is confusing. Rework it, no functional change.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Chen Wandun <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions