HomeFreeBSD

Restore nofaulting operations after r352807

Description

Restore nofaulting operations after r352807

The TDP_NOFAULTING flag should be checked in vm_fault(), not in
vm_fault_trap(). Otherwise kernel accesses to userspace, like
vn_io_fault(), enter vm locking when it should not.

Reported and tested by: pho
Reviewed by: alc, markj
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Differential revision: https://reviews.freebsd.org/D21992

Details

Committed
kibOct 13 2019, 6:56 AM
Reviewer
alc
Differential Revision
D21992: Restore nofaulting operations after r352807
Parents
rS353462: Fix the botched field ordering in the last commit. While here, fix
Branches
Unknown
Tags
Unknown