From: Hugh Dickins Date: Sun, 30 Oct 2005 01:15:55 +0000 (-0700) Subject: [PATCH] mm: anon is already wrprotected X-Git-Tag: v2.6.15-rc1~730^2^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72866f6f277ec0ddd6df7a3b6ecdcf59a28de115;p=pandora-kernel.git [PATCH] mm: anon is already wrprotected do_anonymous_page's pte_wrprotect causes some confusion: in such a case, vm_page_prot must already be forcing COW, so must omit write permission, and so the pte_wrprotect is redundant. Replace it by a comment to that effect, and reword the comment on unuse_pte which also caused confusion. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed