[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.
This commit is contained in:
Jérôme Gardou 2021-02-03 13:40:30 +01:00
parent cc9607e94e
commit 6f2b94c023

View file

@ -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);
}