diff options
author | Gautham R Shenoy <[email protected]> | 2007-10-15 17:00:14 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2007-10-15 17:00:14 +0200 |
commit | 638e13ac37a1a89473415f407cbffc1688a20fe2 (patch) | |
tree | c39999a223e8b272819c3676684c88d40aa47040 /net/unix/sysctl_net_unix.c | |
parent | 5cb350baf580017da38199625b7365b1763d7180 (diff) |
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 <[email protected]>
Credit: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions