aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-12-03 18:37:08 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-03 23:55:58 -0500
commit7cc78f8fa02c2485104b86434acbc1538a3bd807 (patch)
treef3a9fdccb6f2c4db996299fe23f6597592b30085 /kernel/trace/ftrace.c
parentebcd241a635c868b1f89abbfb4dd176ca5f81eba (diff)
context_tracking: Restore previous state in schedule_user
It appears that some SCHEDULE_USER (asm for schedule_user) callers in arch/x86/kernel/entry_64.S are called from RCU kernel context, and schedule_user will return in RCU user context. This causes RCU warnings and possible failures. This is intended to be a minimal fix suitable for 3.18. Reported-and-tested-by: Dave Jones <davej@redhat.com> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/trace/ftrace.c')
0 files changed, 0 insertions, 0 deletions