mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[NTOS:MM] Use KeZeroPages in zeroing thread
This commit is contained in:
parent
708dc6b7d6
commit
e98de5ef1f
|
@ -99,7 +99,7 @@ MmZeroPageThread(VOID)
|
||||||
|
|
||||||
ZeroAddress = MiMapPagesInZeroSpace(Pfn1, 1);
|
ZeroAddress = MiMapPagesInZeroSpace(Pfn1, 1);
|
||||||
ASSERT(ZeroAddress);
|
ASSERT(ZeroAddress);
|
||||||
RtlZeroMemory(ZeroAddress, PAGE_SIZE);
|
KeZeroPages(ZeroAddress, PAGE_SIZE);
|
||||||
MiUnmapPagesInZeroSpace(ZeroAddress, 1);
|
MiUnmapPagesInZeroSpace(ZeroAddress, 1);
|
||||||
|
|
||||||
OldIrql = MiAcquirePfnLock();
|
OldIrql = MiAcquirePfnLock();
|
||||||
|
|
Loading…
Reference in a new issue