diff options
author | jeff <jeff@FreeBSD.org> | 2005-01-24 10:47:04 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-01-24 10:47:04 +0000 |
commit | 39bf4e6e676959f73ca5137db65165eb04d3de73 (patch) | |
tree | ba0af9f97f79291d7785b777f735bc815c3854cc /lib/libc/stdlib/imaxabs.c | |
parent | 8cb539567897815e8f65bc05a1f410ce7ce6f5a1 (diff) | |
download | FreeBSD-src-39bf4e6e676959f73ca5137db65165eb04d3de73.zip FreeBSD-src-39bf4e6e676959f73ca5137db65165eb04d3de73.tar.gz |
- Add CTR calls to trace the lifecycle of a buffer.
- Remove some KASSERTs which are invalid if the appropriate lock is
not held.
- Slightly restructure bremfree() so that it is more sane.
- Change the flush code in bdwrite() to avoid acquiring a mutex
whenever possible.
- Change the flush code in bdwrite() to avoid holding the bufobj mutex
while calling buf_countdeps(). This introduces a lock-order
relationship with the softdep lock that can not otherwise be resolved.
- Don't set B_DONE until bufdone() is complete, otherwise another
processor may believe the buf is done before it is.
- Only acquire Giant if the caller has set b_iodone. Don't grab giant
around normal bufdone() calls.
Sponsored By: Isilon Systems, Inc.
Diffstat (limited to 'lib/libc/stdlib/imaxabs.c')
0 files changed, 0 insertions, 0 deletions