summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-12-05 18:30:07 +0100
committerAndrew Morton <akpm@linux-foundation.org>2022-12-12 03:12:21 +0100
commit8614d6c5eda005ad72b37afeaae2879d7c101b18 (patch)
tree0d710df89a23714a4f54dac444e8148ba84ef07e /mm
parentselftests/vm: ksm_functional_tests: fixes for 32bit (diff)
downloadlinux-8614d6c5eda005ad72b37afeaae2879d7c101b18.tar.xz
linux-8614d6c5eda005ad72b37afeaae2879d7c101b18.zip
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/20221205173007.580210-1-Jason@zx2c4.com Fixes: de60f5f10c58 ("mm: introduce VM_LOCKONFAULT") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Acked-by: Vlastimil Babka <vbabka@suse.cz> Cc: Eric B Munson <emunson@akamai.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions