zfs/module/splat
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
..
.gitignore sun-misc-gitignore 2010-01-08 09:37:54 -08:00
Makefile.in Add basic credential support and splat tests. 2009-07-27 17:18:59 -07:00
splat-atomic.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-condvar.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-cred.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-ctl.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-generic.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-internal.h Public Release Prep 2010-05-17 15:18:00 -07:00
splat-kmem.c Use KM_NODEBUG macro in preference to __GFP_NOWARN. 2010-05-20 14:16:59 -07:00
splat-kobj.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-list.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-mutex.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-random.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-rwlock.c Simplify rwlock implementation. 2010-05-20 14:20:34 -07:00
splat-taskq.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-thread.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-time.c Public Release Prep 2010-05-17 15:18:00 -07:00
splat-vnode.c Public Release Prep 2010-05-17 15:18:00 -07:00