Re: bug, or is it? - SCHED_RR and futex related

From: Jamie Lokier
Date: Fri Feb 13 2004 - 09:39:12 EST


Rudo Thomas wrote:
> I tracked it down to an infinite waiting in futex( ..., FUTEX_WAIT, 2, NULL).
> Can THIS hang the machine hard when running with SCHED_RR policy?

Do you mean that a task running with SCHED_RR calls futex( ...,
FUTEX_WAIT, 2, NULL), and there are no other SCHED_RR or SCHED_FIFO
tasks?

That cannot lock the machine hard. When the futex call waits, the task sleeps.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/