diff options
author | scottl <scottl@FreeBSD.org> | 2003-02-26 04:46:21 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-02-26 04:46:21 +0000 |
commit | c40528bca41a3712b1bd0ffa7e5a6fa32d26e30c (patch) | |
tree | 7222197a22bf396aae6cc5a0fa95eda087593e0d /lib/libpthread/thread/thr_condattr_init.c | |
parent | 6706d1e5c2a49552f197943e1ed3301081c65532 (diff) | |
download | FreeBSD-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 'lib/libpthread/thread/thr_condattr_init.c')
0 files changed, 0 insertions, 0 deletions