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

Thomas E. Spanjaard tgen at
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 
  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

More information about the Commits mailing list