Date: Sat, 18 Oct 2003 02:03:15 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys buf.h conf.h src/sys/kern vfs_bio.c Message-ID: <200310180903.h9I93FXx095152@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310180903.h9I93FXx095152>