Hmm, I wonder.
I have a 1MB DMA zone, and 31MB of normal memory.
The machine has been running lots of programs for some time, but not under
any VM pressure. I now come to open a device which requires 64K in 8K
pages from the DMA zone. What happens?
I suspect that the chances of it failing will be significantly higher with
this algorithm - do you have any thoughts for this?
I don't think we should purely select the allocation zone based purely on
how much free it contains, but also if it's special (like the DMA zone).
You can't clean in-use slab pages out on demand like you can for fs
cache/user pages.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/