diff options
author | Swarup Laxman Kotiaklapudi <[email protected]> | 2023-10-09 14:07:14 +0300 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-10-18 14:43:22 -0700 |
commit | 6e79b375adb38219099d7e3ccc973a7808108a3e (patch) | |
tree | 6e01ab95e33ad0f3073ab8e02ce8c8a2134216da /scripts/gdb/linux/vmalloc.py | |
parent | 598f0ac1500d7145c696de4d38797b1dd2c651de (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.
[[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 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions