From owner-cvs-src@FreeBSD.ORG Wed May 28 23:15:37 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 1DF3937B401; Wed, 28 May 2003 23:15:36 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E0CF43F85; Wed, 28 May 2003 23:15:36 -0700 (PDT) (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 h4T6Fa0U093878; Wed, 28 May 2003 23:15:36 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4T6FZ6L093877; Wed, 28 May 2003 23:15:35 -0700 (PDT) Message-Id: <200305290615.h4T6FZ6L093877@repoman.freebsd.org> From: Alan Cox Date: Wed, 28 May 2003 23:15:35 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_4 Subject: cvs commit: src/sys/kern kern_physio.c vfs_aio.c src/sys/ufs/ffs ffs_rawread.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: Thu, 29 May 2003 06:15:37 -0000 alc 2003/05/28 23:15:35 PDT FreeBSD src repository Modified files: (Branch: RELENG_4) sys/kern kern_physio.c vfs_aio.c sys/ufs/ffs ffs_rawread.c Log: MFC o Don't reinitialize fields that are already initialized by getpbuf(). o Sufficient access checks are performed by vmapbuf() that calling useracc() is pointless (and costly). Remove the call to useracc(). Revision Changes Path 1.46.2.3 +2 -9 src/sys/kern/kern_physio.c 1.70.2.28 +3 -16 src/sys/kern/vfs_aio.c 1.3.2.2 +0 -5 src/sys/ufs/ffs/ffs_rawread.c