From: Chen, Kenneth W Date: Sun, 10 Dec 2006 10:20:36 +0000 (-0800) Subject: [PATCH] sched: optimize activate_task for RT task X-Git-Tag: v2.6.20-rc1~145^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62ab616d54371a65f595c199aad1e1755b837d25;p=pandora-kernel.git [PATCH] sched: optimize activate_task for RT task 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 Acked-by: Ingo Molnar Cc: Nick Piggin Cc: "Siddha, Suresh B" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed