Tag the MDL buffer
Modified: trunk/reactos/ntoskrnl/mm/mdl.c

Modified: trunk/reactos/ntoskrnl/mm/mdl.c
--- trunk/reactos/ntoskrnl/mm/mdl.c	2005-05-25 01:49:50 UTC (rev 15490)
+++ trunk/reactos/ntoskrnl/mm/mdl.c	2005-05-25 02:20:01 UTC (rev 15491)
@@ -85,7 +85,9 @@
    }
    MmUnlockAddressSpace(MmGetKernelAddressSpace());
 
-   Buffer = ExAllocatePool(NonPagedPool, MI_MDL_MAPPING_REGION_SIZE / (PAGE_SIZE * 8));
+   Buffer = ExAllocatePoolWithTag(NonPagedPool, 
+                                  MI_MDL_MAPPING_REGION_SIZE / (PAGE_SIZE * 8),
+                                  TAG_MDL);
 
    RtlInitializeBitMap(&MiMdlMappingRegionAllocMap, Buffer, MI_MDL_MAPPING_REGION_SIZE / PAGE_SIZE);
    RtlClearAllBits(&MiMdlMappingRegionAllocMap);