cvs commit: src/sys/vm vm_page.c

[ Available lists | Index of cvs-all | Month of Nov 2005 | Week of 13 Nov 2005 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Alan Cox <alc@FreeBSD.org>
Date
13 Nov 2005 07:38:17
Subject
cvs commit: src/sys/vm vm_page.c
Message-ID
200511130738.jAD7cGmF014405@repoman.freebsd.org


[ Hide this part ]
alc         2005-11-13 07:38:16 UTC

FreeBSD src repository

Modified files: (Branch: RELENG_6)
sys/vm vm_page.c
Log:
MFC revisions 1.307 and 1.308
Consider the zero-copy transmission of a page that was wired by mlock(2).
If a copy-on-write fault occurs on the page, the new copy should inherit
a part of the original page's wire count.

If a physical page is mapped by two or more virtual addresses, transmitted
by the zero-copy sockets method, and written to before the transmission
completes, we need to destroy all of the existing mappings to the page,
not just the one that we fault on. Otherwise, the mappings will no longer
be to the same page and changes made through one of the mappings will not
be visible through the others.

Revision Changes Path
1.304.2.1 +3 -0 src/sys/vm/vm_page.c


Elapsed time: 0.069 seconds