Re: can kfree sleep?

From: Andrew Morton
Date: Sun Nov 21 2004 - 16:11:55 EST


"Peter T. Breuer" <ptb@xxxxxxxxxx> wrote:
>
> Just a question: can kfree sleep?

Nope. All memory freeing codepaths are atomic and may be called from any
context except NMI handlers.
-
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/