[PATCH 0/2 -rt] make locckdep selftest work on -rt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux