From owner-cvs-src@FreeBSD.ORG Sun Nov 13 07:38:17 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29CE816A41F; Sun, 13 Nov 2005 07:38:17 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F170543D46; Sun, 13 Nov 2005 07:38:16 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAD7cGYb014406; Sun, 13 Nov 2005 07:38:16 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAD7cGmF014405; Sun, 13 Nov 2005 07:38:16 GMT (envelope-from alc) Message-Id: <200511130738.jAD7cGmF014405@repoman.freebsd.org> From: Alan Cox Date: Sun, 13 Nov 2005 07:38:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/vm vm_page.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 07:38:17 -0000 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