[PATCH] [Xenial|Yakkety/raspi2] [Config] Enable CONFIG_USERFAULTFD
Paolo Pisati
paolo.pisati at canonical.com
Fri Oct 14 15:15:53 UTC 2016
BugLink: http://bugs.launchpad.net/bugs/1633516
Enable the userfaultfd() system call that allows to intercept and
handle page faults in userland.
How to test:
stress-ng -v --userfaultfd 1 --metrics-brief --syslog --tz -t 180
if disabled it will print:
stress-ng-userfaultfd: userfaultfd failed, errno = 38 (Function not implemented)
while, if enabled:
stress-ng: debug: [445] starting stressors
stress-ng: debug: [445] 1 stressor spawned
stress-ng: debug: [446] stress-ng-userfaultfd: started [446] (instance 0)
stress-ng: debug: [446] stress-ng-userfaultfd: exited [446] (instance 0)
stress-ng: debug: [445] process [446] terminated
stress-ng: info: [445] successful run completed in 180.03s (3 mins, 0.03 secs)
Tested on RasbperryPI2/3 armhf and arm64 mode.
Paolo Pisati (1):
UBUNTU: [Config] USERFAULTFD=y
debian.raspi2/config/config.common.ubuntu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.7.4
More information about the kernel-team
mailing list