mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user