cvs commit: src/sys/sys buf.h conf.h src/sys/kern vfs_bio.c

Poul-Henning Kamp phk at FreeBSD.org
Sat Oct 18 02:03:17 PDT 2003


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


More information about the cvs-src mailing list