On Tue, Jul 29, 2014 at 02:53:19PM -0400, Waiman Long wrote:
The queued rwlock does not support the use of recursive read-lock inMaybe I wasn't clear; but I meant you should extend the lock tests to
the process context. With changes in the lockdep code to check and
disallow recursive read-lock, it is also necessary for the locking
selftest to be updated to change the process context recursive read
locking results from SUCCESS to FAILURE for rwlock.
cover the full qrwlock semantics.
That means we also need tests like:
RL(X1);
IRQ_ENTER();
RL(X2);
IRQ_EXIT();
To fully validate that in_interrupt exception to fairness etc..