Re: [PATCH 07/10] vmscan: Remove unnecessary temporary variablesin shrink_zone()

From: Mel Gorman
Date: Wed May 26 2010 - 07:22:10 EST


On Sat, Apr 17, 2010 at 01:03:32AM +0200, Johannes Weiner wrote:
> On Fri, Apr 16, 2010 at 11:51:26AM +0900, KOSAKI Motohiro wrote:
> > > Two variables are declared that are unnecessary in shrink_zone() as they
> > > already exist int the scan_control. Remove them
> > >
> > > Signed-off-by: Mel Gorman <mel@xxxxxxxxx>
> >
> > ok.
> > Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
>
> You confuse me, you added the local variables yourself in 01dbe5c9
> for performance reasons. Doesn't that still hold?
>

To avoid a potential regression, I've dropped the patch.

--
Mel Gorman
Part-time Phd Student Linux Technology Center
University of Limerick IBM Dublin Software Lab
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/