https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e98de5ef1fdc62ebe78e0…
commit e98de5ef1fdc62ebe78e054a958b69b7b484cda4
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Mon Aug 2 17:32:57 2021 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Wed Aug 4 17:48:39 2021 +0200
[NTOS:MM] Use KeZeroPages in zeroing thread
---
ntoskrnl/mm/ARM3/zeropage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ntoskrnl/mm/ARM3/zeropage.c b/ntoskrnl/mm/ARM3/zeropage.c
index 80725e8a5a7..5ad738b53d4 100644
--- a/ntoskrnl/mm/ARM3/zeropage.c
+++ b/ntoskrnl/mm/ARM3/zeropage.c
@@ -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();