[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171004215006.GA12792@linux.vnet.ibm.com>
Date: Wed, 4 Oct 2017 14:50:06 -0700
From: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>
To: linux-kernel@...r.kernel.org
Cc: mingo@...nel.org, jiangshanlai@...il.com, dipankar@...ibm.com,
akpm@...ux-foundation.org, mathieu.desnoyers@...icios.com,
josh@...htriplett.org, tglx@...utronix.de, peterz@...radead.org,
rostedt@...dmis.org, dhowells@...hat.com, edumazet@...gle.com,
fweisbec@...il.com, oleg@...hat.com
Subject: [PATCH tip/core/rcu 0/4] RCU CPU stall warning updates for v4.15
Hello!
This series updates RCU CPU stall warnings, and also, due to conflicts,
pulls along a long-standing patch that allows cond_resched() to do the
work that cond_resched_rcu_qs() does.
1. Make cond_resched() provide RCU quiescent state. This has been
heavily optimized over its lifetime, which is almost one year.
It should be close enough. Yes, some benchmarks show that it
results in higher context-switch rates, but then again, the
problem being solved is in fact too few context switches. ;-)
2. Make RCU CPU stall warnings check for irq-disabled CPUs.
3. Turn off tracing before dumping traces.
4. Suppress RCU CPU stall warnings while dumping RCU-related traces.
Thanx, Paul
------------------------------------------------------------------------
include/linux/sched.h | 3 -
kernel/rcu/rcu.h | 21 +++++++
kernel/rcu/tree.c | 129 +++++++++++++++++++++++++++++++++++------------
kernel/rcu/tree.h | 5 +
kernel/rcu/tree_plugin.h | 7 ++
kernel/rcu/update.c | 1
kernel/sched/core.c | 1
7 files changed, 132 insertions(+), 35 deletions(-)
Powered by blists - more mailing lists