Re: [patch] x86: allow ZONE_DMA to be configurable

From: David Rientjes
Date: Fri Oct 15 2010 - 05:12:34 EST


On Fri, 15 Oct 2010, Ingo Molnar wrote:

> Can we automate it perhaps? Drivers could express their zone needs, and
> perhaps we can free up the zone if there's no relevant driver loaded by
> the time we have booted up? If a hotplug driver arrives later on, is the
> MM good enough for us to be able to reinstate the zone dynamically?
>

That's the same as setting /proc/sys/vm/lowmem_reserve_ratio to 0 for all
zones so that no lowmem is reserved specifically for DMA allocations.
Then, ZONE_DMA becomes like any other zone and is open to all allocations.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/