alc 2005-11-13 07:38:16 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
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