sched/core: Kill sched_class::task_waking to clean up the migration logic
authorPeter Zijlstra <peterz@infradead.org>
Tue, 10 May 2016 16:24:37 +0000 (18:24 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 May 2016 07:55:31 +0000 (09:55 +0200)
commit59efa0bac9cf8b2ef8d08f7632826c6d90f6a9bb
tree45c0c2e9b71edeef0ea4aabc444a2f411ed04dc0
parentb5179ac70de85ef477cedf8b026a57913754cf1e
sched/core: Kill sched_class::task_waking to clean up the migration logic

With sched_class::task_waking being called only when we do
set_task_cpu(), we can make sched_class::migrate_task_rq() do the work
and eliminate sched_class::task_waking entirely.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Hunter <ahh@google.com>
Cc: Ben Segall <bsegall@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
Cc: Morten Rasmussen <morten.rasmussen@arm.com>
Cc: Paul Turner <pjt@google.com>
Cc: Pavan Kondeti <pkondeti@codeaurora.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: byungchul.park@lge.com
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h