[NTOSKRNL:CC] Calculate Dirty Pages like NT5

This commit is contained in:
2024-08-18 07:28:25 +02:00
committad av CodingWorkshop Signing Team
förälder 3ae19eaf01
incheckning 11683762c3

Visa fil

@@ -1373,8 +1373,8 @@ CcAdjustWriteBehindThreadPoolIfNeeded(
}
}
else
{
if (CcGlobalDirtyPageStatistics.DirtyPages > 0x2000 || NeedAdjustment)
{ auto DirtyPages = (CcTotalDirtyPages + CcPagesWrittenLastTime);
if (DirtyPages > 0x2000 || NeedAdjustment)
{
if (CcIsWriteBehindThreadpoolAtLowPriority())
{