zfs/include
Brian Behlendorf 32f5faff69 Simplify rwlock implementation.
Remove RW_COUNT() from the rwlock implementation.  The idea was that it
could be used as a generic wrapper for getting at the internal state
of a rwlock.  While a good idea it's proven problematic to keep it
correct for multiple archs and internal implementation changes.  In
short it hasn't been worth the trouble.

With that and simplicity in mind things have been updated to use the
rwsem_is_locked() function instead of RW_COUNT for the RW_*_HELD()
functions.  As for rw_upgrade() it remains only implemented for
the generic rwsem implemenation.  It remains to be determined if its
worth the effort of adding a custom implementation for each arch.
2010-05-20 14:20:34 -07:00
..
fs Public Release Prep 2010-05-17 15:18:00 -07:00
linux Public Release Prep 2010-05-17 15:18:00 -07:00
rpc Public Release Prep 2010-05-17 15:18:00 -07:00
sharefs Public Release Prep 2010-05-17 15:18:00 -07:00
sys Simplify rwlock implementation. 2010-05-20 14:20:34 -07:00
util Public Release Prep 2010-05-17 15:18:00 -07:00
vm Public Release Prep 2010-05-17 15:18:00 -07:00
.gitignore sun-misc-gitignore 2010-01-08 09:37:54 -08:00
Makefile.am Atomic64 compatibility for 32-bit systems without kernel support. 2009-12-04 15:54:12 -08:00
Makefile.in Add support for 'make -s' silent builds 2010-03-26 15:41:17 -07:00
spl-ctl.h Public Release Prep 2010-05-17 15:18:00 -07:00
spl-device.h Public Release Prep 2010-05-17 15:18:00 -07:00
splat-ctl.h Public Release Prep 2010-05-17 15:18:00 -07:00
strings.h Public Release Prep 2010-05-17 15:18:00 -07:00
unistd.h Public Release Prep 2010-05-17 15:18:00 -07:00