Re: [PATCH -next] mm/kmemleak: increase the max mem pool to 1M

2019-08-15 Thread Catalin Marinas
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 su

[PATCH -next] mm/kmemleak: increase the max mem pool to 1M

2019-08-14 Thread Qian Cai
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 failu