Oleg Nesterov
dfa50b605c
sched: Make finish_task_switch() return 'struct rq *'
...
Both callers of finish_task_switch() need to recalculate this_rq()
and pass it as an argument, plus __schedule() does this again after
context_switch().
It would be simpler to call this_rq() once in finish_task_switch()
and return the this rq to the callers.
Note: probably "int cpu" in __schedule() should die; it is not used
and both rcu_note_context_switch() and wq_worker_sleeping() do not
really need this argument.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Kirill Tkhai <tkhai@yandex.ru>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20141009193232.GB5408@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2014-10-28 10:47:55 +01:00
..
2014-10-01 21:30:33 -04:00
2014-08-08 16:30:24 -07:00
2014-10-14 02:18:25 +02:00
2014-10-15 07:48:18 +02:00
2014-09-26 14:39:57 +01:00
2014-10-15 07:48:18 +02:00
2014-10-13 15:51:40 +02:00
2014-10-23 23:02:45 +02:00
2014-10-15 07:48:18 +02:00
2014-09-18 16:22:27 -07:00
2014-10-28 10:47:55 +01:00
2014-10-15 07:48:18 +02:00
2014-10-13 16:23:15 +02: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-10-10 15:30:25 -04:00
2014-09-23 16:37:53 -04:00
2014-10-19 16:25:56 -07: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-09-18 16:22:27 -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-18 09:28:51 -07: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-06-06 16:08:12 -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-08-08 15:57:32 -07: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-08-08 15:57:24 -07: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
2013-06-18 11:32:10 -05: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
2013-07-14 19:36:59 -04: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
2013-08-30 23:44:11 -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