From: Peter Zijlstra Date: Tue, 26 Sep 2006 06:30:59 +0000 (-0700) Subject: [PATCH] mm: optimize the new mprotect() code a bit X-Git-Tag: v2.6.19-rc1~1223 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1e6098b23bb46e2b488fe9a26f831f867157483;p=pandora-kernel.git [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 Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed