MiPulseCommitSignal

VOID __stdcall MiPulseCommitSignal(_MI_PARTITION *Partition){
  _KEVENT *v2; 
  _KLOCK_QUEUE_HANDLE LockHandle; 

  memset(&LockHandle, 0, sizeof(LockHandle));
  KeAcquireInStackQueuedSpinLock(&Partition->Commit.EventLock, &LockHandle);
  v2 = Partition->Core.MemoryEvents[7];
  if( !*((_DWORD *)v2 + 1) )
    KePulseEvent(v2, 0, 0);
  if( !*((_DWORD *)Partition->Core.MemoryEvents[8] + 1)
    && Partition->Vp.TotalCommitLimit == Partition->Commit.TotalCommitLimitMaximum )
  {
    KePulseEvent(Partition->Core.MemoryEvents[8], 0, 0);
  }
  KeReleaseInStackQueuedSpinLockFromDpcLevel(&LockHandle);
  __writecr8(LockHandle.OldIrql);
}

Referenced by:

MiChargeCommit