summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb/pccbbdevid.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-02-26 04:46:21 +0000
committerscottl <scottl@FreeBSD.org>2003-02-26 04:46:21 +0000
commitc40528bca41a3712b1bd0ffa7e5a6fa32d26e30c (patch)
tree7222197a22bf396aae6cc5a0fa95eda087593e0d /sys/dev/pccbb/pccbbdevid.h
parent6706d1e5c2a49552f197943e1ed3301081c65532 (diff)
downloadFreeBSD-src-c40528bca41a3712b1bd0ffa7e5a6fa32d26e30c.zip
FreeBSD-src-c40528bca41a3712b1bd0ffa7e5a6fa32d26e30c.tar.gz
Bring aac out from under Giant:
- the mutex aac_io_lock protects the main codepaths which handle queues and hardware registers. Only one acquire/release is done in the top-half and the taskqueue. This mutex also applies to the userland command path and CAM data path. - Move the taskqueue to the new Giant-free version. - Register the disk device with DISKFLAG_NOGIANT so the top-half processing runs without Giant. - Move the dynamic command allocator to the worker thread to avoid locking issues with bus_dmamem_alloc(). This gives about 20% improvement in most of my benchmarks.
Diffstat (limited to 'sys/dev/pccbb/pccbbdevid.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud