]> 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)
commit094d379783da401538d5c3797f0d18248e838ad2
treefcc583072281530f0bb2132d791366374dc51a95
parent90b3e5000ec93190ec363b9f0c3e0fde963ed2c0
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