diff options
author | Andrea Arcangeli <[email protected]> | 2019-11-30 17:57:58 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-12-01 12:59:10 -0800 |
commit | 9d4678eb170c4c632174d1fec8ecee31c2f314f9 (patch) | |
tree | 42c77ee3dd514f345e0cf52b1d5cebe0697a4ed6 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 643aa36eadebdcdcaeecf538f0549a619ad78ea0 (diff) |
fs/userfaultfd.c: wp: clear VM_UFFD_MISSING or VM_UFFD_WP during userfaultfd_register()
If the registration is repeated without VM_UFFD_MISSING or VM_UFFD_WP they
need to be cleared. Currently setting UFFDIO_REGISTER_MODE_WP returns
-EINVAL, so this patch is a noop until the UFFDIO_REGISTER_MODE_WP support
is applied.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Andrea Arcangeli <[email protected]>
Reported-by: Wei Yang <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions