[PATCH tip/core/rcu 0/3] rcu: fix !PREEMPT, __mpol_dup(), andftrace_perf_buf_prepare() RCU lockdep splats

From: Paul E. McKenney
Date: Wed Mar 03 2010 - 20:50:14 EST


Hello!

This patch fixes three RCU lockdep issues:

1. Makes rcu_read_lock_sched_held() correctly handle !PREEMPT
kernels.

2. Suppresses __mpol_dup() false positive.

3. Converts a pair of rcu_dereference() calls in
ftrace_perf_buf_prepare() to rcu_dereference_sched().

There are probably more where these came from. ;-)

Thanx, Paul

------------------------------------------------------------------------

include/linux/rcupdate.h | 15 ++++++++++++++-
include/trace/ftrace.h | 4 ++--
kernel/trace/trace_event_profile.c | 5 ++---
mm/mempolicy.c | 3 ++-
4 files changed, 20 insertions(+), 7 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/