From: Gautham R Shenoy Date: Mon, 15 Oct 2007 15:00:14 +0000 (+0200) Subject: sched: fix rt ptracer monopolizing CPU X-Git-Tag: v2.6.24-rc1~1289^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=638e13ac37a1a89473415f407cbffc1688a20fe2;p=pandora-kernel.git sched: fix rt ptracer monopolizing CPU yield() in wait_task_inactive(), can cause a high priority thread to be scheduled back in, and there by loop forever while it is waiting for some lower priority thread which is unfortunately still on the runqueue. Use schedule_timeout_uninterruptible(1) instead. Signed-off-by: Gautham R Shenoy Credit: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed