https://git.reactos.org/?p=reactos.git;a=commitdiff;h=831cad3410ac163f95737…
commit 831cad3410ac163f95737b0f14583b407bdff07b
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue May 25 21:12:41 2021 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue May 25 21:13:32 2021 +0200
[NTOS:MM] Remove wrong cleaning of PDEs at session cleanup
---
ntoskrnl/mm/ARM3/session.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/mm/ARM3/session.c b/ntoskrnl/mm/ARM3/session.c
index c849c9952c3..cb4de5f9b5f 100644
--- a/ntoskrnl/mm/ARM3/session.c
+++ b/ntoskrnl/mm/ARM3/session.c
@@ -374,8 +374,8 @@ MiDereferenceSession(VOID)
SessionGlobal = MmSessionSpace->GlobalVirtualAddress;
/* Delete all session PDEs and flush the TB */
- RtlZeroMemory(MiAddressToPde(MmSessionBase),
- BYTES_TO_PAGES(MmSessionSize) * sizeof(MMPDE));
+ //RtlZeroMemory(MiAddressToPde(MmSessionBase),
+ // BYTES_TO_PAGES(MmSessionSize) * sizeof(MMPDE));
KeFlushEntireTb(FALSE, FALSE);
/* Clean up the references here. */