aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorSwarup Laxman Kotiaklapudi <[email protected]>2023-10-09 11:07:14 +0000
committerAndrew Morton <[email protected]>2023-10-18 21:43:22 +0000
commit6e79b375adb38219099d7e3ccc973a7808108a3e (patch)
tree6e01ab95e33ad0f3073ab8e02ce8c8a2134216da /lib/debugobjects.c
parentcompiler.h: move __is_constexpr() to compiler.h (diff)
downloadkernel-6e79b375adb38219099d7e3ccc973a7808108a3e.tar.gz
kernel-6e79b375adb38219099d7e3ccc973a7808108a3e.zip
proc: test /proc/${pid}/statm
My original comment lied, output can be "0 A A B 0 0 0\n" (see comment in the code). I don't quite understand why get_mm_counter(mm, MM_FILEPAGES) + get_mm_counter(mm, MM_SHMEMPAGES) can stay positive but get_mm_counter(mm, MM_ANONPAGES) is always 0 after everything is unmapped but that's just me. [[email protected]: more or less rewritten] Link: https://lkml.kernel.org/r/0721ca69-7bb4-40aa-8d01-0c5f91e5f363@p183 Signed-off-by: Swarup Laxman Kotiaklapudi <[email protected]> Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions