Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1571879
| From | Waiman Long <longman@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] locking/spinlock_debug: Change it to a mostly fair lock |
| Date | 2017-02-01 19:30 +0100 |
| Message-ID | <t67Pj-W0-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The current debug spinlock implementation is a TATAS unfair lock. This can occasionally lead to system lockup with a debug kernel because of the unfairness of the lock rather than inherent locking problem. This patch set changes the debug spinlock implementation to a mostly fair spinlock based on the MCS lock similar to what is done in qspinlock. Waiman Long (2): locking/spinlock_debug: Reduce lockup suspected message clutter locking/spinlock_debug: Reduce lock cacheline contention include/linux/spinlock_types.h | 8 +++-- kernel/locking/spinlock_debug.c | 73 ++++++++++++++++++++++++++++++----------- 2 files changed, 58 insertions(+), 23 deletions(-) -- 1.8.3.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] locking/spinlock_debug: Change it to a mostly fair lock Waiman Long <longman@redhat.com> - 2017-02-01 19:30 +0100 [PATCH 1/2] locking/spinlock_debug: Reduce lockup suspected message clutter Waiman Long <longman@redhat.com> - 2017-02-01 19:30 +0100
csiph-web