From owner-cvs-all@FreeBSD.ORG Fri Mar 28 22:14:15 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B219637B401; Fri, 28 Mar 2003 22:14:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6408743F75; Fri, 28 Mar 2003 22:14:15 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2T6EF0U010347; Fri, 28 Mar 2003 22:14:15 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2T6EFpi010346; Fri, 28 Mar 2003 22:14:15 -0800 (PST) Message-Id: <200303290614.h2T6EFpi010346@repoman.freebsd.org> From: Alan Cox Date: Fri, 28 Mar 2003 22:14:15 -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/kern uipc_cow.c uipc_syscalls.c src/sys/sys socketvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 06:14:18 -0000 alc 2003/03/28 22:14:15 PST FreeBSD src repository Modified files: sys/kern uipc_cow.c uipc_syscalls.c sys/sys socketvar.h Log: Pass the vm_page's address to sf_buf_alloc(); map the vm_page as part of sf_buf_alloc() instead of expecting sf_buf_alloc()'s caller to map it. The ultimate reason for this change is to enable two optimizations: (1) that there never be more than one sf_buf mapping a vm_page at a time and (2) 64-bit architectures can transparently use their 1-1 virtual to physical mapping (e.g., "K0SEG") avoiding the overhead of pmap_qenter() and pmap_qremove(). Revision Changes Path 1.12 +1 -3 src/sys/kern/uipc_cow.c 1.144 +6 -9 src/sys/kern/uipc_syscalls.c 1.103 +1 -1 src/sys/sys/socketvar.h