mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 09:29:07 +00:00
[NTOS:MM] Silence noisy DPRINTs
This commit is contained in:
parent
4ff5d39edb
commit
42094071ee
3 changed files with 2 additions and 13 deletions
|
@ -1517,7 +1517,7 @@ ExpReallocateBigPageTable(
|
||||||
NewTable = MiAllocatePoolPages(NonPagedPool, NewSizeInBytes);
|
NewTable = MiAllocatePoolPages(NonPagedPool, NewSizeInBytes);
|
||||||
if (NewTable == NULL)
|
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);
|
KeReleaseSpinLock(&ExpLargePoolTableLock, OldIrql);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -835,7 +835,7 @@ MiAllocatePoolPages(IN POOL_TYPE PoolType,
|
||||||
//
|
//
|
||||||
// Ran out of memory
|
// Ran out of memory
|
||||||
//
|
//
|
||||||
DPRINT1("Out of NP Expansion Pool\n");
|
DPRINT("Out of NP Expansion Pool\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -253,17 +253,6 @@ MiReserveSystemPtes(IN ULONG NumberOfPtes,
|
||||||
//
|
//
|
||||||
PointerPte = MiReserveAlignedSystemPtes(NumberOfPtes, SystemPtePoolType, 0);
|
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
|
// Return the PTE Pointer
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue