The patch titled sched: optimize activate_task for RT task has been removed from the -mm tree. Its filename was sched-optimize-activate_task-for-rt-task.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: sched: optimize activate_task for RT task From: "Chen, Kenneth W" <kenneth.w.chen@xxxxxxxxx> RT task does not participate in interactiveness priority and thus shouldn't be bothered with timestamp and p->sleep_type manipulation when task is being put on run queue. Bypass all of the them with a single if (rt_task) test. Signed-off-by: Ken Chen <kenneth.w.chen@xxxxxxxxx> Acked-by: Ingo Molnar <mingo@xxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Cc: "Siddha, Suresh B" <suresh.b.siddha@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sched.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff -puN kernel/sched.c~sched-optimize-activate_task-for-rt-task kernel/sched.c --- a/kernel/sched.c~sched-optimize-activate_task-for-rt-task +++ a/kernel/sched.c @@ -940,6 +940,9 @@ static void activate_task(struct task_st { unsigned long long now; + if (rt_task(p)) + goto out; + now = sched_clock(); #ifdef CONFIG_SMP if (!local) { @@ -961,8 +964,7 @@ static void activate_task(struct task_st (now - p->timestamp) >> 20); } - if (!rt_task(p)) - p->prio = recalc_task_prio(p, now); + p->prio = recalc_task_prio(p, now); /* * This checks to make sure it's not an uninterruptible task @@ -987,7 +989,7 @@ static void activate_task(struct task_st } } p->timestamp = now; - +out: __activate_task(p, rq); } _ Patches currently in -mm which might be from kenneth.w.chen@xxxxxxxxx are origin.patch optimize-o_direct-on-block-device-v3.patch optimize-o_direct-on-block-device-v3-tweak.patch mm-only-sched-add-a-few-scheduler-event-counters.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html