Re: badness in interruptible_sleep_on_timeout FC-3 (source codeand Makefile attached)

From: Arjan van de Ven
Date: Wed Mar 09 2005 - 11:09:55 EST


On Wed, 2005-03-09 at 20:12 +0530, Srinivas G. wrote:
>
>
> I have developed a small module in Fedora Core 3 with 2.6.9-1.667
> kernel
> version. This module uses the interruptible_sleep_on_timeout call and

don't use interruptible_sleep_on_timeout() !!!!
really.

(and if you want to use the sleep_on() family of apis even when you
shouldn't, you HAVE to hold the big kernel lock for them!)

-
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/