summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-02-13 23:11:05 +0000
committerkettenis <kettenis@openbsd.org>2014-02-13 23:11:05 +0000
commitcc85bf3e1e828c5a0314eec3fde448fcd9ee3a49 (patch)
tree616cd9b68b396889a5407e02a00bcd2743246dd9 /lib/libc
parentReplace hand crafted routing label code with the rtlabel_id2sa() (diff)
downloadwireguard-openbsd-cc85bf3e1e828c5a0314eec3fde448fcd9ee3a49.tar.xz
wireguard-openbsd-cc85bf3e1e828c5a0314eec3fde448fcd9ee3a49.zip
Some Linux i915 drm "fast" path code relies on being able to "disable" page
faults to avoid sleeping. Implement this functionality for i386 and amd64 for faults in the user address space. If the ci_inatomic flag is set in struct cpu_info, copyin(9) and copyout(9) will return EFAULT when a user-space address needs to be faulted in. Use this to properly implement __copy_to_user_inatomic() and __copy_from_user_inatomic_nocache() in the inteldrm(4) code. ok krw@, guenther@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions