diff options
author | Kautuk Consul <consul.kautuk@gmail.com> | 2012-03-21 23:34:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 00:54:57 (GMT) |
commit | 6583a84304e5a6cb27ec2aace79ef9c4ba888d12 (patch) | |
tree | 48fbc25bafeeffb9527404b8a114aed8390aa5a6 /mm/vmscan.c | |
parent | 28073b02bfaaed1e3278acfb8e6e7c9f76d9f2b6 (diff) | |
download | linux-6583a84304e5a6cb27ec2aace79ef9c4ba888d12.tar.xz |
rmap: anon_vma_prepare: Reduce code duplication by calling anon_vma_chain_link
Reduce code duplication by calling anon_vma_chain_link() from
anon_vma_prepare().
Also move anon_vmal_chain_link() to a more suitable location in the file.
Signed-off-by: Kautuk Consul <consul.kautuk@gmail.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Hugh Dickins <hughd@google.com>
Reviewed-by: KAMEZWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Mel Gorman <mgorman@suse.de>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions