On Tue, Jul 13, 2010 at 05:02:22PM +0900, KAMEZAWA Hiroyuki wrote: > How about stop using SPARSEMEM ? What's the benefit ? It just eats up > memory for mem_section[]. The problem with that approach is that sometimes the mem_map array doesn't fit into any memory banks. We've gone around the loop of using flatmem with holes punched in it, to using discontigmem, and now to using sparsemem. It seems none of these solutions does what we need for ARM. I guess that's the price we pay for not having memory architected to be at any particular place in the physical memory map. We're even seeing lately setups now where system memory is split into two areas, where the second (higher physical address) is populated first before the lower bank... These kinds of games are getting rather stupid and idiotic, but we're not the hardware designers and so we have to live with it - or just tell the folk who are porting the kernel to these platforms that we'll never take their patches. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>