On Sat, 11 Jul 2015, Wei Yang wrote: > nr_node_ids records the highest possible node id, which is calculated by > scanning the bitmap node_states[N_POSSIBLE]. Current implementation scan > the bitmap from the beginning, which will scan the whole bitmap. > > This patch reverse the order by scanning from the end with find_last_bit(). > > Signed-off-by: Wei Yang <weiyang@xxxxxxxxxxxxxxxxxx> > CC: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > CC: Tejun Heo <tj@xxxxxxxxxx> Acked-by: David Rientjes <rientjes@xxxxxxxxxx> -- 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>