Revert to zero'ing the objects we pull out of our objcaches ourselves.
authorThomas E. Spanjaard <tgen@dragonflybsd.org>
Thu, 7 Dec 2006 12:47:24 +0000 (12:47 +0000)
committerThomas E. Spanjaard <tgen@dragonflybsd.org>
Thu, 7 Dec 2006 12:47:24 +0000 (12:47 +0000)
commit1d4619bd34a9cd796e20bbdf884831d3a5e638ff
tree446f954020156222f7b7f78979413df25661cc22
parente4392b8f97a7a29b5915b9711b33c4a91bc2bd7b
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).
sys/dev/disk/nata/ata-all.c
sys/dev/disk/nata/ata-all.h