Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
f2d31f1d
Commit
f2d31f1d
authored
Feb 13, 2015
by
Andrea Arcangeli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userfaultfd: buildsystem activation
This allows to select the userfaultfd during configuration to build it.
parent
5a2b3614
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
fs/Makefile
fs/Makefile
+1
-0
init/Kconfig
init/Kconfig
+11
-0
No files found.
fs/Makefile
View file @
f2d31f1d
...
...
@@ -27,6 +27,7 @@ obj-$(CONFIG_ANON_INODES) += anon_inodes.o
obj-$(CONFIG_SIGNALFD)
+=
signalfd.o
obj-$(CONFIG_TIMERFD)
+=
timerfd.o
obj-$(CONFIG_EVENTFD)
+=
eventfd.o
obj-$(CONFIG_USERFAULTFD)
+=
userfaultfd.o
obj-$(CONFIG_AIO)
+=
aio.o
obj-$(CONFIG_FS_DAX)
+=
dax.o
obj-$(CONFIG_FILE_LOCKING)
+=
locks.o
...
...
init/Kconfig
View file @
f2d31f1d
...
...
@@ -1574,6 +1574,17 @@ config ADVISE_SYSCALLS
applications use these syscalls, you can disable this option to save
space.
config USERFAULTFD
bool "Enable userfaultfd() system call"
select ANON_INODES
default y
depends on MMU
help
Enable the userfaultfd() system call that allows to intercept and
handle page faults in userland.
If unsure, say Y.
config PCI_QUIRKS
default y
bool "Enable PCI quirk workarounds" if EXPERT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment