On Thu, Aug 15, 2013 at 02:06:44PM -0700, Yinghai Lu wrote: > On Thu, Aug 15, 2013 at 1:43 PM, Andrew Morton > <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Wed, 14 Aug 2013 22:46:29 -0700 Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > > > >> Current early_pfn_to_nid() on arch that support memblock go > >> over memblock.memory one by one, so will take too many try > >> near the end. > >> > >> We can use existing memblock_search to find the node id for > >> given pfn, that could save some time on bigger system that > >> have many entries memblock.memory array. > > > > Looks nice. I wonder how much difference it makes. > > Russ said he would test on his 256 nodes system, but looks he never > got chance. I reserved time tonight on a couple big systems to measure the performance difference. Thanks, -- Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc rja@xxxxxxx -- 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>