mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity
@ 2013-08-07 10:24 Lai Jiangshan
  2013-08-07 12:38 ` Paul E. McKenney
  0 siblings, 1 reply; 16+ messages in thread
From: Lai Jiangshan @ 2013-08-07 10:24 UTC (permalink / raw)
  To: Paul E. McKenney, Steven Rostedt, Peter Zijlstra, linux-kernel
  Cc: Lai Jiangshan

Although all articles declare that rcu read site is deadlock-immunity.
It is not true for rcu-preempt, it will be deadlock if rcu read site
overlaps with scheduler lock.

ec433f0c, 10f39bb1 and 016a8d5b just partially solve it. But rcu read site
is still not deadlock-immunity. And the problem described in 016a8d5b
is still existed(rcu_read_unlock_special() calls wake_up).

The problem is fixed in patch5.

Lai Jiangshan (8):
  rcu: add a warn to rcu_preempt_note_context_switch()
  rcu: rcu_read_unlock_special() can be nested in irq/softirq 10f39bb1
  rcu: keep irqs disabled in rcu_read_unlock_special()
  rcu: delay task rcu state cleanup in exit_rcu()
  rcu: eliminate rcu read site deadlock
  rcu: call rcu_read_unlock_special() in rcu_preempt_check_callbacks()
  rcu: add # of deferred _special() statistics
  rcu: remove irq work for rsp_wakeup()

 include/linux/rcupdate.h |    2 +-
 kernel/rcupdate.c        |    2 +-
 kernel/rcutree.c         |   17 +--------
 kernel/rcutree.h         |    2 +-
 kernel/rcutree_plugin.h  |   82 ++++++++++++++++++++++++++++++++++-----------
 kernel/rcutree_trace.c   |    1 +
 6 files changed, 68 insertions(+), 38 deletions(-)

-- 
1.7.4.4


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-08-12 14:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CE792442-F438-4486-BAB7-12B0E1C57273@gmail.com>
2013-08-12 14:12 ` [PATCH 0/8] rcu: Ensure rcu read site is deadlock-immunity Peter Zijlstra
2013-08-07 10:24 Lai Jiangshan
2013-08-07 12:38 ` Paul E. McKenney
2013-08-07 19:29   ` Carsten Emde
2013-08-07 19:52     ` Paul E. McKenney
2013-08-08  1:17     ` Lai Jiangshan
2013-08-08  0:36   ` Paul E. McKenney
2013-08-08  1:47     ` Lai Jiangshan
2013-08-08  2:12       ` Steven Rostedt
2013-08-08  2:33         ` Lai Jiangshan
2013-08-08  2:33           ` Paul E. McKenney
2013-08-08  3:10             ` Lai Jiangshan
2013-08-08  4:18               ` Paul E. McKenney
2013-08-08  5:27                 ` Lai Jiangshan
2013-08-08  7:05                   ` Paul E. McKenney
2013-08-08  2:45         ` Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®