[NTOS:MM] Silence noisy DPRINTs

This commit is contained in:
Jérôme Gardou 2021-03-18 11:48:09 +01:00 committed by Jérôme Gardou
parent 4ff5d39edb
commit 42094071ee
3 changed files with 2 additions and 13 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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
//