Author: sginsberg Date: Thu Oct 15 20:34:21 2009 New Revision: 43484
URL: http://svn.reactos.org/svn/reactos?rev=43484&view=rev Log: - MiReserveAlignedSystemPtes: Add missing lock release, spotted by janderwald
Modified: trunk/reactos/ntoskrnl/mm/ARM3/syspte.c
Modified: trunk/reactos/ntoskrnl/mm/ARM3/syspte.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/ARM3/syspte.c?r... ============================================================================== --- trunk/reactos/ntoskrnl/mm/ARM3/syspte.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/ARM3/syspte.c [iso-8859-1] Thu Oct 15 20:34:21 2009 @@ -109,7 +109,6 @@ // Decrement the free count and move to the next starting PTE // MmTotalFreeSystemPtes[SystemPtePoolType] -= NumberOfPtes; - KeReleaseQueuedSpinLock(LockQueueSystemSpaceLock, OldIrql); PointerPte += (ClusterSize - NumberOfPtes); break; } @@ -158,8 +157,9 @@ }
// - // Flush the TLB and return the first PTE - // + // Release the lock, flush the TLB and return the first PTE + // + KeReleaseQueuedSpinLock(LockQueueSystemSpaceLock, OldIrql); KeFlushProcessTb(); return PointerPte; }