Messages in this thread | | | From | Yong Zhang <> | Subject | [PATCH 0/2 -rt] make locckdep selftest work on -rt | Date | Mon, 16 Apr 2012 15:01:54 +0800 |
| |
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
| |