Re: Sleeping function called from illegal context...

Greg KH (greg@kroah.com)
Fri, 27 Sep 2002 19:16:43 -0700


On Fri, Sep 27, 2002 at 08:51:30PM -0400, Robert Love wrote:
> On Fri, 2002-09-27 at 19:30, Greg KH wrote:
>
> > The system still seems to be running ok, but I think I'll turn off
> > CONFIG_PREEMPT just to be sure.
>
> Note this has nothing to do with kernel preemption. IDE explicitly
> sleeps while purposely holding a lock.
>
> It is just we do not have the ability to measure atomicity w/o
> preemption enabled - e.g. the debugging only works when it is enabled.

Yes, you are correct. Sorry for stating that. It's shaking out lots of
potential proplems :)

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