lkml.org 
[lkml]   [2012]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2 -rt] make locckdep selftest work on -rt
Date
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



\
 
 \ /
  Last update: 2012-04-16 09:05    [W:0.357 / U:1.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site