Andy Lutomirski 7cc78f8fa0 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>
2014-12-03 20:55:58 -08:00
..
2014-10-27 19:09:59 -04:00
2014-10-29 16:33:14 -07:00
2014-10-09 22:26:04 -04:00
2014-10-09 22:26:04 -04:00
2014-11-11 14:20:22 -05:00
2014-09-23 16:37:51 -04:00
2014-08-08 15:57:18 -07:00
2014-09-10 15:42:12 -07:00
2014-10-27 19:09:59 -04:00
2014-10-07 20:39:25 -04:00
2013-09-11 15:58:27 -07:00
2014-08-08 15:57:22 -07:00