diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-30 02:15:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 05:40:36 +0100 |
commit | 72866f6f277ec0ddd6df7a3b6ecdcf59a28de115 (patch) | |
tree | a76bb7fb8e092250c4399c20f0c7c973b77cb0bb /mm/mremap.c | |
parent | [PATCH] mm: zap_pte_range dont dirty anon (diff) | |
download | linux-72866f6f277ec0ddd6df7a3b6ecdcf59a28de115.tar.xz linux-72866f6f277ec0ddd6df7a3b6ecdcf59a28de115.zip |
[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 <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions