On Fri, Apr 18, 2014 at 02:08:36PM -0400, Johannes Weiner wrote: > On Fri, Apr 18, 2014 at 03:50:35PM +0100, Mel Gorman wrote: > > Currently it's calculated once per zone in the zonelist. > > > > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> > > I would have assumed the compiler can detect such a loop invariant... > Alas, > Surprisingly it didn't in my case but the benefit of the patch is marginal at best. I can drop it if it makes the code more obscure to peoples eyes. -- Mel Gorman SUSE Labs -- 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>