Re: printk in atomic context

Zwane Mwaikambo (zwane@arm.linux.org.uk)
Wed, 9 Jul 2003 02:48:11 -0400 (EDT)


On Wed, 9 Jul 2003, [koi8-r] "Andrey Borzenkov[koi8-r] " wrote:

>
> Is it possible (safe) to use printk in atomic context, i.e. under
> spinlock or inside of preemption-disabled region?
>
> The same question about 2.4 (here I guess only spinlock?)

Yes you can, it's rather robust.

-- 
function.linuxpower.ca
-
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/