fault.c (ecd740c6f2f092b90b95fa35f757973589eaaca2) | fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7) |
---|---|
1// TODO VM_EXEC flag work-around, cache aliasing 2/* 3 * arch/xtensa/mm/fault.c 4 * 5 * This file is subject to the terms and conditions of the GNU General Public 6 * License. See the file "COPYING" in the main directory of this archive 7 * for more details. 8 * --- 103 unchanged lines hidden (view full) --- 112 fault = handle_mm_fault(mm, vma, address, flags); 113 114 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) 115 return; 116 117 if (unlikely(fault & VM_FAULT_ERROR)) { 118 if (fault & VM_FAULT_OOM) 119 goto out_of_memory; | 1// TODO VM_EXEC flag work-around, cache aliasing 2/* 3 * arch/xtensa/mm/fault.c 4 * 5 * This file is subject to the terms and conditions of the GNU General Public 6 * License. See the file "COPYING" in the main directory of this archive 7 * for more details. 8 * --- 103 unchanged lines hidden (view full) --- 112 fault = handle_mm_fault(mm, vma, address, flags); 113 114 if ((fault & VM_FAULT_RETRY) && fatal_signal_pending(current)) 115 return; 116 117 if (unlikely(fault & VM_FAULT_ERROR)) { 118 if (fault & VM_FAULT_OOM) 119 goto out_of_memory; |
120 else if (fault & VM_FAULT_SIGSEGV) 121 goto bad_area; |
|
120 else if (fault & VM_FAULT_SIGBUS) 121 goto do_sigbus; 122 BUG(); 123 } 124 if (flags & FAULT_FLAG_ALLOW_RETRY) { 125 if (fault & VM_FAULT_MAJOR) 126 current->maj_flt++; 127 else --- 131 unchanged lines hidden --- | 122 else if (fault & VM_FAULT_SIGBUS) 123 goto do_sigbus; 124 BUG(); 125 } 126 if (flags & FAULT_FLAG_ALLOW_RETRY) { 127 if (fault & VM_FAULT_MAJOR) 128 current->maj_flt++; 129 else --- 131 unchanged lines hidden --- |