Add mechanism to free system PTEs and merge adjacent clusters
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 31s
Builds / ExectOS (amd64, release) (push) Successful in 46s
Builds / ExectOS (amd64, debug) (push) Successful in 33s
Builds / ExectOS (i686, release) (push) Successful in 43s

This commit is contained in:
2026-01-04 21:11:33 +01:00
parent 9f359c10ed
commit 0a43a93f41
4 changed files with 131 additions and 12 deletions

View File

@@ -44,7 +44,7 @@ MM::KernelPool::AllocateKernelStack(OUT PVOID *Stack,
StackPages = SIZE_TO_PAGES(StackSize);
/* Reserve PTEs for the stack pages, plus a guard page */
StackPte = MM::Pte::ReserveSystemPtes(StackPages + 1, SystemPteSpace, 0);
StackPte = MM::Pte::ReserveSystemPtes(StackPages + 1, SystemPteSpace);
if(!StackPte)
{
/* Failed to reserve PTEs for the new kernel stack */