mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
[NTOS:MM] Remove wrong cleaning of PDEs at session cleanup
This commit is contained in:
parent
1a1dac04c7
commit
831cad3410
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue