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
30 ((__u64)1 << _UFFDIO_WAKE | \30 ((__u64)1 << _UFFDIO_WAKE | \
31 (__u64)1 << _UFFDIO_COPY | \31 (__u64)1 << _UFFDIO_COPY | \
32 (__u64)1 << _UFFDIO_ZEROPAGE)32 (__u64)1 << _UFFDIO_ZEROPAGE)
33#define UFFD_API_RANGE_IOCTLS_HPAGE \33#define UFFD_API_RANGE_IOCTLS_BASIC \
34 ((__u64)1 << _UFFDIO_WAKE | \34 ((__u64)1 << _UFFDIO_WAKE | \
35 (__u64)1 << _UFFDIO_COPY)35 (__u64)1 << _UFFDIO_COPY)
36 36

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