On -rt, 1) There is no softirq context any more; 2) rwlock can not be used in harirq context; Wrt that, convert spinlock to raw spinlock to make spinlock+hardirq work, and discard the test for rwlock+hardirq and softirq. BTW, I think patch#1 can go to upstream. Thanks, Yong --- Yong Zhang (2): lockdep: selftest: convert spinlock to raw spinlock lockdep: selftest: Only do hardirq context test for raw spinlock lib/locking-selftest.c | 57 +++++++++++++++++++++++++++++++++-------------- 1 files changed, 40 insertions(+), 17 deletions(-) -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html