|
@@ -126,7 +126,6 @@ good_area:
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
|
|
-survive:
|
|
|
|
/*
|
|
/*
|
|
* If for any reason at all we couldn't handle the fault,
|
|
* If for any reason at all we couldn't handle the fault,
|
|
* make sure we exit gracefully rather than endlessly redo
|
|
* make sure we exit gracefully rather than endlessly redo
|
|
@@ -220,11 +219,6 @@ no_context:
|
|
*/
|
|
*/
|
|
out_of_memory:
|
|
out_of_memory:
|
|
up_read(&mm->mmap_sem);
|
|
up_read(&mm->mmap_sem);
|
|
- if (is_global_init(tsk)) {
|
|
|
|
- yield();
|
|
|
|
- down_read(&mm->mmap_sem);
|
|
|
|
- goto survive;
|
|
|
|
- }
|
|
|
|
if (!user_mode(regs))
|
|
if (!user_mode(regs))
|
|
goto no_context;
|
|
goto no_context;
|
|
pagefault_out_of_memory();
|
|
pagefault_out_of_memory();
|