summaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorHugh Dickins2005-10-30 02:16:31 +0100
committerLinus Torvalds2005-10-30 05:40:41 +0100
commitc0718806cf955d5eb51ea77bffb5b21d9bba4972 (patch)
treebd29659bbff68604127439ec8144230a40772621 /mm/memory.c
parent[PATCH] mm: xip_unmap ZERO_PAGE fix (diff)
downloadkernel-qcow2-linux-c0718806cf955d5eb51ea77bffb5b21d9bba4972.tar.gz
kernel-qcow2-linux-c0718806cf955d5eb51ea77bffb5b21d9bba4972.tar.xz
kernel-qcow2-linux-c0718806cf955d5eb51ea77bffb5b21d9bba4972.zip
[PATCH] mm: rmap with inner ptlock
rmap's page_check_address descend without page_table_lock. First just pte_offset_map in case there's no pte present worth locking for, then take page_table_lock for the full check, and pass ptl back to caller in the same style as pte_offset_map_lock. __xip_unmap, page_referenced_one and try_to_unmap_one use pte_unmap_unlock. try_to_unmap_cluster also. page_check_address reformatted to avoid progressive indentation. No use is made of its one error code, return NULL when it fails. 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 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions