From 6f2b94c0231cbb447bc176712d11090b034490ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 3 Feb 2021 13:40:30 +0100 Subject: [PATCH] [NTOS:MM] Wake up the balancer as soon as we are low on page. Fixes installing on a system with 64MB of RAM, if you feel like it. --- ntoskrnl/mm/balance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntoskrnl/mm/balance.c b/ntoskrnl/mm/balance.c index 1cab99be0ec..cb61f3559fd 100644 --- a/ntoskrnl/mm/balance.c +++ b/ntoskrnl/mm/balance.c @@ -264,7 +264,7 @@ VOID NTAPI MmRebalanceMemoryConsumers(VOID) { - if (InterlockedCompareExchange(&PageOutThreadActive, 0, 1) == 0) + // if (InterlockedCompareExchange(&PageOutThreadActive, 0, 1) == 0) { KeSetEvent(&MiBalancerEvent, IO_NO_INCREMENT, FALSE); }