History

userfaultfd: shmem: allow registration of shared memory ranges

Expand the userfaultfd_register/unregister routines to allow shared memory VMAs. Currently, there is no UFFDIO_ZEROPAGE and write-protection support for shared memory VMAs, which is reflected in ioctl methods supported by uffdio_register.

Mike Rapoport committed 9 years ago

Commit cac67321 parent cfda0523 files · +9 −16Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/userfaultfd.h+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030 ((__u64)1 << _UFFDIO_WAKE | \
3131 (__u64)1 << _UFFDIO_COPY | \
3232 (__u64)1 << _UFFDIO_ZEROPAGE)
33−#define UFFD_API_RANGE_IOCTLS_HPAGE \
33+#define UFFD_API_RANGE_IOCTLS_BASIC \
3434 ((__u64)1 << _UFFDIO_WAKE | \
3535 (__u64)1 << _UFFDIO_COPY)
3636

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t