mirror of
https://github.com/reactos/reactos.git
synced 2025-05-08 03:07:05 +00: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:
parent
cc9607e94e
commit
6f2b94c023
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
MmRebalanceMemoryConsumers(VOID)
|
MmRebalanceMemoryConsumers(VOID)
|
||||||
{
|
{
|
||||||
if (InterlockedCompareExchange(&PageOutThreadActive, 0, 1) == 0)
|
// if (InterlockedCompareExchange(&PageOutThreadActive, 0, 1) == 0)
|
||||||
{
|
{
|
||||||
KeSetEvent(&MiBalancerEvent, IO_NO_INCREMENT, FALSE);
|
KeSetEvent(&MiBalancerEvent, IO_NO_INCREMENT, FALSE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue