summaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2009-02-14 02:04:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-02-21 23:17:17 +0100
commit0cb57258fe01e9b21076b6a15b6aec7a24168228 (patch)
tree9744786d92356a21d3d2bcd2d3cc2935d81a489f /mm/page_io.c
parentswsusp: dont fiddle with swappiness (diff)
downloadlinux-0cb57258fe01e9b21076b6a15b6aec7a24168228.tar.xz
linux-0cb57258fe01e9b21076b6a15b6aec7a24168228.zip
swsusp: clean up shrink_all_zones()
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@cmpxchg.org> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Len Brown <lenb@kernel.org> Cc: Greg KH <gregkh@suse.de> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions