aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-09-23 15:34:10 -0700
committerLinus Torvalds <[email protected]>2019-09-24 15:54:07 -0700
commitc59180ae3e5b43d3534748b19a57905712ea5fff (patch)
tree5fd5580357558128de445b77fe7fd54bf2d6bc6c /include/linux/debugobjects.h
parent0e965a6bda80f3227dfb74af6ae644e396beaacb (diff)
mm/kmemleak: increase the max mem pool to 1M
There are some machines with slow disk and fast CPUs. When they are under memory pressure, it could take a long time to swap before the OOM kicks in to free up some memory. As the results, it needs a large mem pool for kmemleak or suffering from higher chance of a kmemleak metadata allocation failure. 524288 proves to be the good number for all architectures here. Increase the upper bound to 1M to leave some room for the future. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Qian Cai <[email protected]> Acked-by: Catalin Marinas <[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