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-08-08 16:30:24 -07:00
2014-10-14 02:18:25 +02:00
2014-11-23 14:25:28 -08:00
2014-10-29 16:33:14 -07:00
2014-10-15 07:48:18 +02:00
2014-10-13 15:51:40 +02:00
2014-11-08 22:30:05 +01:00
2014-10-15 07:48:18 +02:00
2014-10-28 13:24:13 -07:00
2014-12-03 20:55:58 -08:00
2014-11-16 10:04:18 +01:00
2014-11-10 16:47:31 -05:00
2013-12-10 18:21:34 +00: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:53 -04:00
2014-11-13 09:36:39 -08:00
2014-09-23 16:37:51 -04:00
2014-10-19 16:25:56 -07:00
2014-10-19 16:25:56 -07:00
2014-06-04 16:54:14 -07:00
2014-08-08 15:57:18 -07:00
2014-07-24 21:53:47 +10:00
2014-07-15 11:05:09 -04:00
2014-10-10 07:26:02 -04:00
2014-09-06 12:58:18 +02:00
2014-10-28 10:46:05 +01:00
2014-10-23 07:51:17 -07:00
2014-10-10 07:24:40 -04:00
2014-08-25 15:42:19 -07:00
2014-07-23 10:18:06 -07:00
2013-11-09 00:16:23 -05:00
2014-06-04 16:54:15 -07:00
2014-10-13 16:23:15 +02:00
2014-02-13 18:13:22 -08:00
2014-10-13 16:23:15 +02:00
2014-10-21 23:44:20 +02:00
2014-02-02 14:09:12 -08:00
2014-10-26 16:16:18 +01:00
2014-04-03 16:21:05 -07:00
2014-06-04 16:54:15 -07:00
2014-10-15 07:48:18 +02:00
2013-10-19 19:45:35 -04:00
2014-10-14 02:18:16 +02:00
2014-09-10 15:42:12 -07:00
2013-11-15 09:32:22 +09:00
2014-07-16 14:57:13 +02:00
2014-10-14 02:18:21 +02:00
2014-10-29 16:33:14 -07:00
2014-08-08 10:38:04 +02:00
2014-04-25 12:00:49 -07:00
2014-10-09 22:25:51 -04:00
2014-06-04 16:54:15 -07:00
2014-10-27 19:09:59 -04:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-10-18 10:24:26 -07:00
2014-04-24 10:26:39 +02:00
2014-07-29 18:08:50 -07:00
2013-12-05 21:28:42 +08:00
2014-11-13 16:17:06 -08:00
2014-10-14 02:18:28 +02:00
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2014-06-06 16:08:13 -07:00
2014-07-16 15:10:39 +02:00
2014-09-26 00:00:06 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-10-14 02:18:22 +02:00
2014-10-14 02:27:06 +02:00
2014-08-09 09:58:12 -07:00
2014-10-15 07:48:18 +02:00
2014-10-15 07:48:18 +02:00
2014-06-04 16:54:15 -07:00
2014-10-08 21:40:54 -04:00
2014-10-13 16:23:15 +02:00
2014-10-07 20:39:25 -04:00
2014-10-28 10:46:04 +01:00
2013-12-10 18:25:28 +00:00
2014-07-17 09:35:17 -04:00
2013-09-11 15:58:27 -07:00
2014-08-26 13:45:45 -04:00
2014-08-08 15:57:18 -07:00
2014-09-16 13:41:06 -07:00
2014-06-21 00:15:26 -04:00
2014-07-23 10:18:05 -07:00
2014-02-24 14:47:15 -08:00
2014-08-08 15:57:22 -07:00
2014-08-26 13:45:45 -04:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2014-07-29 18:08:50 -07:00
2014-10-15 07:48:18 +02:00
2014-05-20 10:59:32 -04:00
2014-10-06 05:58:26 -07:00