]> git.baikalelectronics.ru Git - kernel.git/commit
mm: add kernel_misc_reclaimable in show_free_areas
authorliuhailong <liuhailong@oppo.com>
Thu, 2 Sep 2021 21:53:01 +0000 (14:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Sep 2021 16:58:10 +0000 (09:58 -0700)
commite5433786b5c6ad5964ff9b63f2d84003288c3e6d
treefcc583072281530f0bb2132d791366374dc51a95
parent5c12ffd980fd6726d7d2e00016b43af7bf26a0d6
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: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c