diff options
author | Peter Zijlstra | 2006-09-26 08:30:59 +0200 |
---|---|---|
committer | Linus Torvalds | 2006-09-26 17:48:44 +0200 |
commit | c1e6098b23bb46e2b488fe9a26f831f867157483 (patch) | |
tree | 6bac4d3cfaab3e7153a15d1a24f9211b2de37ba6 /mm/filemap.c | |
parent | [PATCH] mm: balance dirty pages (diff) | |
download | kernel-qcow2-linux-c1e6098b23bb46e2b488fe9a26f831f867157483.tar.gz kernel-qcow2-linux-c1e6098b23bb46e2b488fe9a26f831f867157483.tar.xz kernel-qcow2-linux-c1e6098b23bb46e2b488fe9a26f831f867157483.zip |
[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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions