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.
Reported by: pho
Differential D21992
Restore nofaulting operations after r352807 kib on Oct 12 2019, 3:27 PM. Authored by Tags None Referenced Files
Details
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. Reported by: pho
Diff Detail
Event Timeline
|