summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
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 /include/linux/stackprotector.h
parent2e6d88e9d455fae9c4ac95c893362258f9540dfa (diff)
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions