aboutsummaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-08-20 06:22:55 +0200
committerAndrew Morton <akpm@linux-foundation.org>2024-09-03 21:15:40 -0700
commit49029c4db368518edac0409a40df9d852aac92f5 (patch)
treedc474b47db6772986736c0e25162d3b185ed7c5c /mm/filemap.c
parentselftests: mm: support shmem mTHP collapse testing (diff)
downloadlinux-rng-49029c4db368518edac0409a40df9d852aac92f5.tar.xz
linux-rng-49029c4db368518edac0409a40df9d852aac92f5.zip
mm: shrinker: use min() to improve shrinker_debugfs_scan_write()
Use the min() macro to simplify the shrinker_debugfs_scan_write() function and improve its readability. Link: https://lkml.kernel.org/r/20240820042254.99115-2-thorsten.blum@toblux.com Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Reviewed-by: Muchun Song <muchun.song@linux.dev> Cc: Dave Chinner <david@fromorbit.com> Cc: Qi Zheng <zhengqi.arch@bytedance.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions