commit | ea4525b6008fb29553306ec6719f8e6930ac9499 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Tue Oct 26 14:22:01 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 26 16:52:09 2010 -0700 |
tree | 1d168e0a05a5f2fc962b8a6e991a21b704ad6e0b | |
parent | 1b36ba815bd91f17e31277a44dd5c6b6a5a8d97e [diff] |
rmap: annotate lock context change on page_[un]lock_anon_vma() The page_lock_anon_vma() conditionally grabs RCU and anon_vma lock but page_unlock_anon_vma() releases them unconditionally. This leads sparse to complain about context imbalance. Annotate them. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>