summaryrefslogtreecommitdiff
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorSwarup Laxman Kotiaklapudi <swarupkotikalapudi@gmail.com>2023-10-09 14:07:14 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-18 14:43:22 -0700
commit6e79b375adb38219099d7e3ccc973a7808108a3e (patch)
tree6e01ab95e33ad0f3073ab8e02ce8c8a2134216da /fs/ocfs2
parent598f0ac1500d7145c696de4d38797b1dd2c651de (diff)
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. [adobriyan@gmail.com: more or less rewritten] Link: https://lkml.kernel.org/r/0721ca69-7bb4-40aa-8d01-0c5f91e5f363@p183 Signed-off-by: Swarup Laxman Kotiaklapudi <swarupkotikalapudi@gmail.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions