On Thu, Aug 15, 2013 at 08:05:38AM -0700, Yinghai Lu wrote: > > It's suboptimal behavior which is chosen as trade-off to enable > > hotplug support and shouldn't be the default behavior just like node > > data and page table should be allocated on the same node by default. > > Why would we allocate kernel page table in low memory be default? > > That is what my patchset want to do. > put page tables on the same node like node data. > with that, hotplug and normal case will be the same code path. Yeah, sure, when that works, that can be the default and only behavior. Right now, we do want a switch to control that, right? I'm not sure we have a good choice which we can choose as the only behavior for kernel page table. Maybe we can implement some heuristics to decide whether there's enough lowmem but given how niche memory hotplug is, at least for now, that feels like an overkill. Thanks. -- tejun -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>