From owner-cvs-src@FreeBSD.ORG Sat Oct 18 02:03:17 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 23D6516A4B3; Sat, 18 Oct 2003 02:03:17 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34CB43F93; Sat, 18 Oct 2003 02:03:15 -0700 (PDT) (envelope-from phk@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 h9I93FXJ095153; Sat, 18 Oct 2003 02:03:15 -0700 (PDT) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9I93FXx095152; Sat, 18 Oct 2003 02:03:15 -0700 (PDT) (envelope-from phk) Message-Id: <200310180903.h9I93FXx095152@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sat, 18 Oct 2003 02:03:15 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys buf.h conf.h src/sys/kern vfs_bio.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: Sat, 18 Oct 2003 09:03:17 -0000 phk 2003/10/18 02:03:15 PDT FreeBSD src repository Modified files: sys/sys buf.h conf.h sys/kern vfs_bio.c Log: The size and contents of the DEV_STRATEGY() macro has progressed to the point where it being a macro is no longer sensible, and it will only be more so in days to come. BIO_STRATEGY() is now only used from DEV_STRATEGY() and should not be used directly anymore. Put the contents of both in the new function dev_strategy() and make DEV_STRATEGY() call that function. In addition, this allows us to make the rather magic bufdonebio() helper function static. This alse saves hunderedandsome bytes of code in a typical kernel. Revision Changes Path 1.413 +17 -1 src/sys/kern/vfs_bio.c 1.157 +0 -1 src/sys/sys/buf.h 1.179 +2 -17 src/sys/sys/conf.h