]> Git Repo - linux.git/commit
sched: add set_curr_task() calls
authorDmitry Adamushko <[email protected]>
Mon, 15 Oct 2007 15:00:07 +0000 (17:00 +0200)
committerIngo Molnar <[email protected]>
Mon, 15 Oct 2007 15:00:07 +0000 (17:00 +0200)
commit7074badbcb4212d404a243e5c50efeb778ec3fc6
treeed55ef0139c9477b4b86ea0f115bcd2aabba1495
parentd02e5ed8d55e2a2b2735232ea1da40ffbf4c0932
sched: add set_curr_task() calls

p->sched_class->set_curr_task() has to be called before
activate_task()/enqueue_task() in rt_mutex_setprio(),
sched_setschedule() and sched_move_task() in order to set up
'cfs_rq->curr'. The logic of enqueueing depends on whether a task to be
inserted is 'current' or not.

Signed-off-by: Dmitry Adamushko <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
kernel/sched.c
This page took 0.055653 seconds and 4 git commands to generate.