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 from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html