Messages in this thread | | | Date | Thu, 15 Aug 2019 09:58:18 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH -next] mm/kmemleak: increase the max mem pool to 1M |
| |
On Wed, Aug 14, 2019 at 02:32:52PM -0400, Qian Cai wrote: > 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. > > Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
| |