Re: [PATCH 1/3] swsusp: clean up shrink_all_zones()

From: KOSAKI Motohiro
Date: Thu Feb 05 2009 - 22:20:37 EST


> Move local variables to innermost possible scopes and use local
> variables to cache calculations/reads done more than once.
>
> No change in functionality (intended).
>
> Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>
> ---
> mm/vmscan.c | 23 +++++++++++------------
> 1 file changed, 11 insertions(+), 12 deletions(-)

ok. good cleanup.
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>




--
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/