Prevent a call to contigmalloc() that asks for more physical memory than
the machine has from causing a panic. Submitted by: Michael Plass PR: 101668 MFC after: 3 days
This commit is contained in:
parent
72ff1a9186
commit
8f32cfe8b1
@ -447,7 +447,7 @@ retry:
|
||||
break;
|
||||
}
|
||||
/* There are no candidates at all. */
|
||||
if (i == -1) {
|
||||
if (i < 0) {
|
||||
vm_page_unlock_queues();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user