MiComputeCommitThresholds
VOID __stdcall MiComputeCommitThresholds(_MI_PARTITION *Partition){
unsigned __int64 TotalCommitLimit;
unsigned __int64 v2;
__int64 v3;
TotalCommitLimit = Partition->Vp.TotalCommitLimit;
v2 = TotalCommitLimit / 0xA;
if( TotalCommitLimit / 0xA > 0x10000 )
v2 = 0x10000i64;
Partition->Commit.HighCommitThreshold = TotalCommitLimit - v2;
v3 = TotalCommitLimit >> 2;
if( TotalCommitLimit >> 2 > 0x100000 )
v3 = 0x100000i64;
Partition->Commit.LowCommitThreshold = TotalCommitLimit - v3;
MiSyncCommitSignals(Partition, 1ui64);
}Referenced by:
MiIncreaseCommitLimits
MiInsertPartitionPages
MiReduceCommitLimits