]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Clean up __page_set_anon_rmap
authorAndi Kleen <ak@linux.intel.com>
Wed, 22 Sep 2010 10:43:56 +0000 (12:43 +0200)
committerAndi Kleen <ak@linux.intel.com>
Fri, 8 Oct 2010 07:32:46 +0000 (09:32 +0200)
commit4e1c19750a8991c66e998a1915f2ad5c391bbd04
treedb10cef6ea6d56e28bb78fb66a037dd7f3725b1c
parent6a90181c7b0558b86179c1f5bcf3ab11f9d1bd30
Clean up __page_set_anon_rmap

Linus asked for a cleanup of __page_set_anon_rmap to make
it look more like the cleaner huge pages version.

Factor out the duplicated PageAnon check into a single check
at the beginning of the function.

Remove obsolete comments and rewrite them into standard English.

No functional changes.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
mm/rmap.c