Out of memory great again
This commit is contained in:
parent
494e85e6dc
commit
3bb1b31eeb
|
@ -215,6 +215,7 @@ ulong MmAllocPageFrame(size_t size, bool contiguous)
|
||||||
addPageToBusyList(futureBegin, futureEnd, id);
|
addPageToBusyList(futureBegin, futureEnd, id);
|
||||||
|
|
||||||
if (curNumber != pageNumber) {
|
if (curNumber != pageNumber) {
|
||||||
|
KeStartPanic("MmAllocPageFrame: Out of memory");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue