commit | c1e6098b23bb46e2b488fe9a26f831f867157483 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Sep 25 23:30:59 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Sep 26 08:48:44 2006 -0700 |
tree | 6bac4d3cfaab3e7153a15d1a24f9211b2de37ba6 | |
parent | edc79b2a46ed854595e40edcf3f8b37f9f14aa3f [diff] |
[PATCH] mm: optimize the new mprotect() code a bit mprotect() resets the page protections, which could result in extra write faults for those pages whose dirty state we track using write faults and are dirty already. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>