commit | b904dcfed6967e9cfc8a54778498f6d289420309 | [log] [tgz] |
---|---|---|
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | Mon Sep 21 17:01:28 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Sep 22 07:17:26 2009 -0700 |
tree | af57711bb516ad30d622223d80f01932fe51a4fe | |
parent | 57dd28fb0513d2f772bb215f27925165e7b9ce5f [diff] |
mm: clean up page_remove_rmap() page_remove_rmap() has multiple PageAnon() tests and it has deep nesting. Clean this up. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Mel Gorman <mel@csn.ul.ie> Reviewed-by: Wu Fengguang <fengguang.wu@intel.com> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>