https://git.reactos.org/?p=reactos.git;a=commitdiff;h=42094071eebe30489ebc3…
commit 42094071eebe30489ebc36f98c38df670f078dfd
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Thu Mar 18 11:48:09 2021 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Thu Mar 18 12:24:21 2021 +0100
[NTOS:MM] Silence noisy DPRINTs
---
ntoskrnl/mm/ARM3/expool.c | 2 +-
ntoskrnl/mm/ARM3/pool.c | 2 +-
ntoskrnl/mm/ARM3/syspte.c | 11 -----------
3 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/ntoskrnl/mm/ARM3/expool.c b/ntoskrnl/mm/ARM3/expool.c
index 25ad64c62ae..4df9bbde217 100644
--- a/ntoskrnl/mm/ARM3/expool.c
+++ b/ntoskrnl/mm/ARM3/expool.c
@@ -1517,7 +1517,7 @@ ExpReallocateBigPageTable(
NewTable = MiAllocatePoolPages(NonPagedPool, NewSizeInBytes);
if (NewTable == NULL)
{
- DPRINT1("Could not allocate %lu bytes for new big page table\n",
NewSizeInBytes);
+ DPRINT("Could not allocate %lu bytes for new big page table\n",
NewSizeInBytes);
KeReleaseSpinLock(&ExpLargePoolTableLock, OldIrql);
return FALSE;
}
diff --git a/ntoskrnl/mm/ARM3/pool.c b/ntoskrnl/mm/ARM3/pool.c
index 9490f326874..5a406e166d8 100644
--- a/ntoskrnl/mm/ARM3/pool.c
+++ b/ntoskrnl/mm/ARM3/pool.c
@@ -835,7 +835,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
//
// Ran out of memory
//
- DPRINT1("Out of NP Expansion Pool\n");
+ DPRINT("Out of NP Expansion Pool\n");
return NULL;
}
diff --git a/ntoskrnl/mm/ARM3/syspte.c b/ntoskrnl/mm/ARM3/syspte.c
index 6c1b1bd55e2..87b862c265f 100644
--- a/ntoskrnl/mm/ARM3/syspte.c
+++ b/ntoskrnl/mm/ARM3/syspte.c
@@ -253,17 +253,6 @@ MiReserveSystemPtes(IN ULONG NumberOfPtes,
//
PointerPte = MiReserveAlignedSystemPtes(NumberOfPtes, SystemPtePoolType, 0);
- //
- // Check if allocation failed
- //
- if (!PointerPte)
- {
- //
- // Warn that we are out of memory
- //
- DPRINT1("MiReserveSystemPtes: Failed to reserve %lu PTE(s)!\n",
NumberOfPtes);
- }
-
//
// Return the PTE Pointer
//