[NTOSKRNL:CC] Calculate Dirty Pages like NT5
This commit is contained in:
parent
3ae19eaf01
commit
11683762c3
@ -1373,8 +1373,8 @@ CcAdjustWriteBehindThreadPoolIfNeeded(
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (CcGlobalDirtyPageStatistics.DirtyPages > 0x2000 || NeedAdjustment)
|
||||
{ auto DirtyPages = (CcTotalDirtyPages + CcPagesWrittenLastTime);
|
||||
if (DirtyPages > 0x2000 || NeedAdjustment)
|
||||
{
|
||||
if (CcIsWriteBehindThreadpoolAtLowPriority())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user