From: Robin Holt Date: Wed, 29 Sep 2010 19:00:56 +0000 (-0500) Subject: driver core: Convert link_mem_sections to use find_memory_block_hinted. X-Git-Tag: v2.6.37-rc1~156^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63d027a63888e993545d10fdfe4107d543f01bca;p=pandora-kernel.git driver core: Convert link_mem_sections to use find_memory_block_hinted. Modify link_mem_sections() to pass in the previous mem_block as a hint to locating the next mem_block. Since they are typically added in order this results in a massive saving in time during boot of a very large system. For example, on a 16TB x86_64 machine, it reduced the total time spent linking all node's memory sections from 1 hour, 27 minutes to 46 seconds. Signed-off-by: Robin Holt To: Gary Hade To: Badari Pulavarty To: Ingo Molnar Reviewed-by: KAMEZAWA Hiroyuki Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed