[NTOS:MM] Use KeZeroPages in zeroing thread

This commit is contained in:
Jérôme Gardou 2021-08-02 17:32:57 +02:00 committed by Jérôme Gardou
parent 708dc6b7d6
commit e98de5ef1f

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();