]> git.baikalelectronics.ru Git - kernel.git/commit
mm: fix wrong comments about anon_vma lock
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 4 Feb 2013 22:28:48 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Feb 2013 09:38:48 +0000 (20:38 +1100)
commitbf4ec415a55936080b23a8f30f5f32351f02b631
treeb267575bb7eaf7b5ce21290cfc5e9a86ef7da952
parentfa723e0c3db6f30d717aec1a584bf35f000eb989
mm: fix wrong comments about anon_vma lock

We use rwsem since commit ce1bf3625288 ("mm/rmap: Convert the struct
anon_vma::mutex to an rwsem").  And most of comments are converted to
the new rwsem lock; while just 2 more missed from:

 $ git grep 'anon_vma->mutex'

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmu_notifier.h
mm/mmap.c