Date: Sat, 31 Oct 2009 17:39:56 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm vm_fault.c Message-ID: <200910311740.n9VHe5aA002707@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2009-10-31 17:39:56 UTC
FreeBSD src repository
Modified files:
sys/vm vm_fault.c
Log:
SVN rev 198721 on 2009-10-31 17:39:56Z by alc
Correct an error in vm_fault_copy_entry() that has existed since the first
version of this file. When a process forks, any wired pages are immediately
copied because copy-on-write is not supported for wired pages. In other
words, the child process is given its own private copy of each wired page
from its parent's address space. Unfortunately, to date, these copied pages
have been mapped into the child's address space with the wrong permissions,
typically VM_PROT_ALL. This change corrects the permissions.
Reviewed by: kib
Revision Changes Path
1.258 +1 -1 src/sys/vm/vm_fault.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910311740.n9VHe5aA002707>
