]> git.baikalelectronics.ru Git - kernel.git/commit
mm/kmemleak.c: record the current memory pool size
authorQian Cai <cai@lca.pw>
Mon, 23 Sep 2019 22:34:07 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Sep 2019 22:54:07 +0000 (15:54 -0700)
commitbba33ef3bc2eb3a7bdc691eb279091795b092194
tree1821cfdb7ea142f09058248404df2495aee0570c
parent4c2fcfdbe187a136281a73322c8893f05bda0b7d
mm/kmemleak.c: record the current memory pool size

The only way to obtain the current memory pool size for a running kernel
is to check the kernel config file which is inconvenient.  Record it in
the kernel messages.

[akpm@linux-foundation.org: s/memory pool size/memory pool/available/, per Catalin]
Link: http://lkml.kernel.org/r/1565809631-28933-1-git-send-email-cai@lca.pw
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kmemleak.c