[NTOS:MM] Use KeZeroPages in zeroing thread

This commit is contained in:
Jérôme Gardou
2021-08-04 17:48:39 +02:00
committed by Jérôme Gardou
parent 708dc6b7d6
commit e98de5ef1f
+1 -1
View File
@@ -99,7 +99,7 @@ MmZeroPageThread(VOID)
ZeroAddress = MiMapPagesInZeroSpace(Pfn1, 1);
ASSERT(ZeroAddress);
RtlZeroMemory(ZeroAddress, PAGE_SIZE);
KeZeroPages(ZeroAddress, PAGE_SIZE);
MiUnmapPagesInZeroSpace(ZeroAddress, 1);
OldIrql = MiAcquirePfnLock();