Skip to content

signed overflow, virtualization optimizations, deadlock avoidance

Paul E. McKenney lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: get rid of signed overflow in check_cpu_stall()kernel/rcutree.c+8 -50 replies
2/3rcu: provide rcu_virt_note_context_switch() function.include/linux/rcutiny.h include/linux/rcutree.h kernel/rcutree.c+19 -00 replies
3/3rcu: permit rcu_read_unlock() to be called while holding runqueue lockskernel/rcutree.c kernel/rcutree.h kernel/rcutree_plugin.h+34 -790 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/3] signed overflow, virtualization optimizations, deadlock avoidance

Hello!

This patchset adds a few more commits to the list:

1. Rework check_cpu_stall to avoid signed overflow.
2. Provide an RCU API for better detection of running in a
guest OS (thanks to Gleb Natapov).
3. Permit rcu_read_unlock() to be called while holding one
of the runqueue locks in response to a lockdep splat, quite possibly from Valdis Kletnieks.

For a testing-only version of this patchset from git, please see the following subject-to-rebase branch:

git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/testing

Thanx, Paul

 b/include/linux/rcutiny.h |    8 +++++
 b/include/linux/rcutree.h |   10 +++++++
 b/kernel/rcutree.c        |   13 +++++----
 b/kernel/rcutree.h        |    5 ---
 b/kernel/rcutree_plugin.h |   64 ++++++++++++++--------------------------------
 kernel/rcutree.c          |   45 ++++++++++----------------------
 6 files changed, 61 insertions(+), 84 deletions(-)