Re: Recursive deactivation of local bottom halves
From: WANG Cong
Date: Wed Jan 26 2011 - 01:20:44 EST
On Tue, 25 Jan 2011 14:05:14 +0100, Emil Langrock wrote:
> Can somebody tell me if that is legal or not (on smp and uniprocessor)?
> And maybe can show me the related source code why is it may or may not
> be legal?
>From what you show to us, it is legal, as long as local_bh_disable()/
local_bh_enable() are always paired, it is fine to call them nestedly.
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/