FROMLIST: x86/mm: add speculative pagefault handling
Try a speculative fault before acquiring mmap_sem, if it returns with VM_FAULT_RETRY continue with the mmap_sem acquisition and do the traditional fault. Signed-off-by:Peter Zijlstra (Intel) <peterz@infradead.org> [Clearing of FAULT_FLAG_ALLOW_RETRY is now done in handle_speculative_fault()] [Retry with usual fault path in the case VM_ERROR is returned by handle_speculative_fault(). This allows signal to be delivered] [Don't build SPF call if !CONFIG_SPECULATIVE_PAGE_FAULT] [Handle memory protection key fault] Signed-off-by:
Laurent Dufour <ldufour@linux.ibm.com> Link: https://lore.kernel.org/patchwork/patch/1062684/ Bug: 161210518 Signed-off-by:
Suren Baghdasaryan <surenb@google.com> Change-Id: If994d027e8602d8d647dfe560c7ac68b49baf2f5
Loading
Please register or sign in to comment