https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6f2b94c0231cbb447bc17…
commit 6f2b94c0231cbb447bc176712d11090b034490ee
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Wed Feb 3 13:40:30 2021 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Feb 3 13:42:39 2021 +0100
[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);
}