aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-03-22 14:39:31 -0700
committerLinus Torvalds <[email protected]>2022-03-22 15:57:01 -0700
commit854d8e36168d79ad09a831d60bd4d835ad33e188 (patch)
treea3c354c12aa52b92c3bd151776cb682de0aa4961 /tools/perf/scripts/python/exported-sql-viewer.py
parenteb5279fb7e41804ecc15ed3cf716a9e2b419af57 (diff)
mm/writeback: minor clean up for highmem_dirtyable_memory
Since commit a804552b9a15 ("mm/page-writeback.c: fix dirty_balance_reserve subtraction from dirtyable memory"), local variable x can not be negative. And it can not overflow when it is the total number of dirtyable highmem pages. Thus remove the unneeded comment and overflow check. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions