[PATCH] mm: zap_pte out of line
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:17 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:39 +0000 (21:40 -0700)
commit861f2fb8e796022b4928cab9c74fca6681a1c557
treed1aa85aad27aab71fd045237cd5e61c3778ff605
parentd0de32d9b71e11cc51618c2045086e9694093d01
[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>
mm/fremap.c