diff --git a/reactos/ntoskrnl/mm/ARM3/expool.c b/reactos/ntoskrnl/mm/ARM3/expool.c index 68063b2b679..825dbddd763 100644 --- a/reactos/ntoskrnl/mm/ARM3/expool.c +++ b/reactos/ntoskrnl/mm/ARM3/expool.c @@ -932,7 +932,7 @@ InitializePool(IN POOL_TYPE PoolType, } // - // Finally, add one entry, compute the hash, and zero the table + // Add one entry, compute the hash, and zero the table // PoolTrackTableSize++; PoolTrackTableMask = PoolTrackTableSize - 2; @@ -940,6 +940,11 @@ InitializePool(IN POOL_TYPE PoolType, RtlZeroMemory(PoolTrackTable, PoolTrackTableSize * sizeof(POOL_TRACKER_TABLE)); + // + // Finally, add the most used tags to speed up those allocations + // + ExpSeedHotTags(); + // // We now do the exact same thing with the tracker table for big pages //