Christoph Lameter wrote:
Make ZONE_DMA optional in core code. - ifdef definitions for ZONE_DMA and related code following the example for ZONE_DMA32 and ZONE_HIGHMEM. - Without ZONE_DMA, ZONE_HIGHMEM and ZONE_DMA32 we get to a ZONES_SHIFT of 0. - Modify the VM statistics to work correctly without a DMA zone. - Modify slab to not create DMA slabs if there is no ZONE_DMA. Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
Nice. Looks like it should remove a bit of overhead. I can't see from your patches, but what happens if someone asks for a GFP_DMA page or dma slab allocation when there is no ZONE_DMA? -- SUSE Labs, Novell Inc.Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |