]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: add kernel_misc_reclaimable in show_free_areas
authorliuhailong <liuhailong@oppo.com>
Mon, 23 Aug 2021 23:59:06 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:33:37 +0000 (09:33 +1000)
commitddef359674445dc2229717475f459e6b705fa4ad
tree287bbf4d3b0a775715f694413ccde0a07eeeb6bf
parent5eaefecd845b89cef85e050b9c4591b2a0c48171
mm: add kernel_misc_reclaimable in show_free_areas

Print NR_KERNEL_MISC_RECLAIMABLE stat from show_free_areas() so users can
check whether the shrinker is working correctly and to show the current
memory usage.

Link: https://lkml.kernel.org/r/20210813104725.4562-1-liuhailong@oppo.com
Signed-off-by: liuhailong <liuhailong@oppo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/page_alloc.c