mm: move anon_vma ref out from under CONFIG_foo
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 22 Mar 2011 23:32:48 +0000 (16:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:03 +0000 (17:44 -0700)
commit83813267c699ab11cc65a6d9d0f42db42f0862b3
tree8a3257ae177ba0f1bb0aebd4a503357c26472908
parent9e60109f125013b6c571f399a15a8b0fe1ffa4e6
mm: move anon_vma ref out from under CONFIG_foo

We need the anon_vma refcount unconditionally to simplify the anon_vma
lifetime rules.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/rmap.h
mm/rmap.c