From 3bb1b31eebb7307571a99bb2d3d42853f8ac8fbd Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 5 Jun 2020 14:29:46 +0200 Subject: [PATCH] Out of memory great again --- kaleid/kernel/mm/palloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kaleid/kernel/mm/palloc.c b/kaleid/kernel/mm/palloc.c index 57cab3a..6e68400 100644 --- a/kaleid/kernel/mm/palloc.c +++ b/kaleid/kernel/mm/palloc.c @@ -215,6 +215,7 @@ ulong MmAllocPageFrame(size_t size, bool contiguous) addPageToBusyList(futureBegin, futureEnd, id); if (curNumber != pageNumber) { + KeStartPanic("MmAllocPageFrame: Out of memory"); return 0; }