commit | 861f2fb8e796022b4928cab9c74fca6681a1c557 | [log] [tgz] |
---|---|---|
author | Hugh Dickins <hugh@veritas.com> | Sat Oct 29 18:16:17 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sat Oct 29 21:40:39 2005 -0700 |
tree | d1aa85aad27aab71fd045237cd5e61c3778ff605 | |
parent | d0de32d9b71e11cc51618c2045086e9694093d01 [diff] |
[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>