summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-03-22 22:39:31 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-22 23:57:01 +0100
commit854d8e36168d79ad09a831d60bd4d835ad33e188 (patch)
treea3c354c12aa52b92c3bd151776cb682de0aa4961 /fs
parentfilemap: remove find_get_pages() (diff)
downloadlinux-854d8e36168d79ad09a831d60bd4d835ad33e188.tar.xz
linux-854d8e36168d79ad09a831d60bd4d835ad33e188.zip
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/20220224115416.46089-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions