fault.c (5e2aa2ed08e2e280121dc7cf5609c87d464f12ef) | fault.c (33692f27597fcab536d7cbbcc8f52905133e4aa7) |
---|---|
1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * 7 * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle 8 * Copyright 1999 SuSE GmbH (Philipp Rumpf, prumpf@tux.org) --- 242 unchanged lines hidden (view full) --- 251 if (unlikely(fault & VM_FAULT_ERROR)) { 252 /* 253 * We hit a shared mapping outside of the file, or some 254 * other thing happened to us that made us unable to 255 * handle the page fault gracefully. 256 */ 257 if (fault & VM_FAULT_OOM) 258 goto out_of_memory; | 1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * 7 * Copyright (C) 1995, 1996, 1997, 1998 by Ralf Baechle 8 * Copyright 1999 SuSE GmbH (Philipp Rumpf, prumpf@tux.org) --- 242 unchanged lines hidden (view full) --- 251 if (unlikely(fault & VM_FAULT_ERROR)) { 252 /* 253 * We hit a shared mapping outside of the file, or some 254 * other thing happened to us that made us unable to 255 * handle the page fault gracefully. 256 */ 257 if (fault & VM_FAULT_OOM) 258 goto out_of_memory; |
259 else if (fault & VM_FAULT_SIGSEGV) 260 goto bad_area; |
|
259 else if (fault & VM_FAULT_SIGBUS) 260 goto bad_area; 261 BUG(); 262 } 263 if (flags & FAULT_FLAG_ALLOW_RETRY) { 264 if (fault & VM_FAULT_MAJOR) 265 current->maj_flt++; 266 else --- 83 unchanged lines hidden --- | 261 else if (fault & VM_FAULT_SIGBUS) 262 goto bad_area; 263 BUG(); 264 } 265 if (flags & FAULT_FLAG_ALLOW_RETRY) { 266 if (fault & VM_FAULT_MAJOR) 267 current->maj_flt++; 268 else --- 83 unchanged lines hidden --- |