Enable CONFIG_USERFAULTFD

Bug #1633516 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-raspi2 (Ubuntu)
New
Undecided
Unassigned
Xenial
Fix Committed
Undecided
Unassigned

Bug Description

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)

Changed in linux-raspi2 (Ubuntu Xenial):
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.