aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNicolas Boichat <[email protected]>2019-09-23 15:33:55 -0700
committerLinus Torvalds <[email protected]>2019-09-24 15:54:07 -0700
commitb751c52bb587ae66f773b15204ef7a147467f4c7 (patch)
treed3af8a380367c37df6797054edbecf356b3bcd79 /include/linux/debugobjects.h
parent9d5f0be0f7556873cd00125dc579a9d9d186b0d0 (diff)
kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
The current default value (400) is too low on many systems (e.g. some ARM64 platform takes up 1000+ entries). syzbot uses 16000 as default value, and has proved to be enough on beefy configurations, so let's pick that value. This consumes more RAM on boot (each entry is 160 bytes, so in total ~2.5MB of RAM), but the memory would later be freed (early_log is __initdata). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Nicolas Boichat <[email protected]> Suggested-by: Dmitry Vyukov <[email protected]> Acked-by: Catalin Marinas <[email protected]> Acked-by: Dmitry Vyukov <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Kees Cook <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: Joe Lawrence <[email protected]> Cc: Uladzislau Rezki <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Andrey Ryabinin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions