diff options
author | Jason A. Donenfeld <[email protected]> | 2022-12-05 18:30:07 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-12-11 18:12:21 -0800 |
commit | 8614d6c5eda005ad72b37afeaae2879d7c101b18 (patch) | |
tree | 0d710df89a23714a4f54dac444e8148ba84ef07e /lib/mpi/mpi-mod.c | |
parent | 9d789c3b4170574baa4242dd8cae5988cf97d48d (diff) |
mm: do not show fs mm pc for VM_LOCKONFAULT pages
When VM_LOCKONFAULT was added, /proc/PID/smaps wasn't hooked up to it, so
looking at /proc/PID/smaps, it shows '??' instead of something
intelligable. This can be reached by userspace by simply calling
`mlock2(..., MLOCK_ONFAULT);`.
Fix this by adding "lf" to denote VM_LOCKONFAULT.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: de60f5f10c58 ("mm: introduce VM_LOCKONFAULT")
Signed-off-by: Jason A. Donenfeld <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Cc: Eric B Munson <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions