cvs commit: src/sys/dev/disk/nata ata-all.c ata-all.h

Thomas E. Spanjaard tgen at crater.dragonflybsd.org
Thu Dec 7 04:53:11 PST 2006


tgen        2006/12/07 04:47:24 PST

DragonFly src repository

  Modified files:
    sys/dev/disk/nata    ata-all.c ata-all.h 
  Log:
  Revert to zero'ing the objects we pull out of our objcaches ourselves.
  Having it done by objcache_get() incurs too much of a penalty on the hot
  path of it, that it isn't warranted, especially considering the fact that
  pulling zero'ed objects out of it isn't taking advantage of the objcache
  model. However, there are arguments for using it, like growability in
  interrupt context (zones can't).
  
  Revision  Changes    Path
  1.2       +42 -4     src/sys/dev/disk/nata/ata-all.c
  1.3       +12 -7     src/sys/dev/disk/nata/ata-all.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-all.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-all.h.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list