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