From owner-freebsd-commit Sat Jan 6 15:23:38 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27816 for freebsd-commit-outgoing; Sat, 6 Jan 1996 15:23:38 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27792 for cvs-all-outgoing; Sat, 6 Jan 1996 15:23:16 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27775 for cvs-sys-outgoing; Sat, 6 Jan 1996 15:23:09 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA27766 Sat, 6 Jan 1996 15:23:07 -0800 (PST) Date: Sat, 6 Jan 1996 15:23:07 -0800 (PST) From: David Greenman Message-Id: <199601062323.PAA27766@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/kern vfs_bio.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk davidg 96/01/06 15:23:06 Modified: sys/kern vfs_bio.c Log: Rework vm_hold_{load,free}_pages to calculate an index once and use that. At the same time, be sure to page-truncate bp->b_data so that the result of the calculation isn't negative. Revision Changes Path 1.82 +13 -11 src/sys/kern/vfs_bio.c