On Wed, 17 Nov 2010, Dave Hansen wrote: > It's not just the mem_map[], though. When a section is sitting > "offline", it's pretty much all ready to go, except that its pages > aren't in the allocators. But, all of the other mm structures have > already been modified to make room for the pages. Zones have been added > or modified, pgdats resized, 'struct page's initialized. > Ok, so let's create an interface that compliments the probe interface that takes a quantity of memory to be hot-added from the amount of hidden RAM only after we fake the nodes_add array for each section within that quantity by calling update_nodes_add() and then looping through for each section calling add_memory(). -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>