Re: BUG or not? GFP_KERNEL with interrupts disabled.

From: Robert Love (rml@tech9.net)
Date: Thu Mar 27 2003 - 14:52:11 EST


On Thu, 2003-03-27 at 14:39, David S. Miller wrote:

> I hadn't considered this, good idea. I'm trying this out right now.

I hope it works. I have a sinking feeling we call it some places that
may have interrupts disabled...

> Someone should backport the might_sleep() stuff to 2.4.x, it's very
> useful.

Would be nice, but for the maximum effect we need kernel preemption
(which keeps track of atomicity via preempt_count). I doubt we want to
go there for 2.4.

        Robert Love

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



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:29 EST