summaryrefslogtreecommitdiffstats
path: root/mm/mremap.c
diff options
context:
space:
mode:
authorHugh Dickins2005-10-30 02:16:17 +0100
committerLinus Torvalds2005-10-30 05:40:39 +0100
commit861f2fb8e796022b4928cab9c74fca6681a1c557 (patch)
treed1aa85aad27aab71fd045237cd5e61c3778ff605 /mm/mremap.c
parent[PATCH] mm: do_mremap current mm (diff)
downloadkernel-qcow2-linux-861f2fb8e796022b4928cab9c74fca6681a1c557.tar.gz
kernel-qcow2-linux-861f2fb8e796022b4928cab9c74fca6681a1c557.tar.xz
kernel-qcow2-linux-861f2fb8e796022b4928cab9c74fca6681a1c557.zip
[PATCH] mm: zap_pte out of line
There used to be just one call to zap_pte, but it shouldn't be inline now there are two. Check for the common case pte_none before calling, and move its rss accounting up into install_page or install_file_pte - which helps the next patch. 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/mremap.c')
0 files changed, 0 insertions, 0 deletions