summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2004-08-23 21:24:34 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 21:24:34 -0700
commit9d9ae43b26ac90bab0213b8bb1245ac9ef966a97 (patch)
treee4801026e5aae7ba69d78bf3f15f21bc59a18d1e /include/linux
parent77631565ae40a44f23eac2e9c440cbceed8962a7 (diff)
[PATCH] rmaplock: mm lock ordering
With page_map_lock out of the way, there's no need for page_referenced and try_to_unmap to use trylocks - provided we switch anon_vma->lock and mm->page_table_lock around in anon_vma_prepare. Though I suppose it's possible that we'll find that vmscan makes better progress with trylocks than spinning - we're free to choose trylocks again if so. Try to update the mm lock ordering documentation in filemap.c. But I still find it confusing, and I've no idea of where to stop. So add an mm lock ordering list I can understand to rmap.c. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions