Re: current->state after kmalloc

Robert Love (rml@tech9.net)
04 Feb 2002 19:50:10 -0500


On Mon, 2002-02-04 at 19:43, Oliver Neukum wrote:

> Is it safe with GFP_ATOMIC ?

You are guaranteed kmalloc will not sleep if you use GFP_ATOMIC, yes.

But I still find it gross to mark yourself sleeping but not sleep
immediately.

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/