From owner-cvs-src@FreeBSD.ORG Thu Nov 13 22:55:12 2003 Return-Path: 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 7E3C716A4CE; Thu, 13 Nov 2003 22:55:12 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEF8D43FA3; Thu, 13 Nov 2003 22:55:11 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAE6tBXJ099693; Thu, 13 Nov 2003 22:55:11 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAE6tBI0099692; Thu, 13 Nov 2003 22:55:11 -0800 (PST) (envelope-from alc) Message-Id: <200311140655.hAE6tBI0099692@repoman.freebsd.org> From: Alan Cox Date: Thu, 13 Nov 2003 22:55:11 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm vm_map.c vm_mmap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 14 Nov 2003 06:55:12 -0000 alc 2003/11/13 22:55:11 PST FreeBSD src repository Modified files: sys/vm vm_map.c vm_mmap.c Log: Changes to msync(2) - Return EBUSY if the region was wired by mlock(2) and MS_INVALIDATE is specified to msync(2). This is required by the Open Group Base Specifications Issue 6. - vm_map_sync() doesn't return KERN_FAILURE. Thus, msync(2) can't possibly return EIO. - The second major loop in vm_map_sync() handles sub maps. Thus, failing on sub maps in the first major loop isn't necessary. Revision Changes Path 1.322 +2 -2 src/sys/vm/vm_map.c 1.172 +2 -2 src/sys/vm/vm_mmap.c