Re: BUG: using smp_processor_id() during suspend with 2.6.25-rc8

From: Jiri Kosina
Date: Mon Apr 07 2008 - 18:14:34 EST


On Tue, 8 Apr 2008, Jiri Kosina wrote:

> Reported at http://lkml.org/lkml/2008/4/7/130
> BTW is also mce_init() (called from mce_resume()) guaranteed to run with
> IRQs off?

... I wouldn't say so, otherwise the BUG wouldn't trigger, right?
debug_smp_processor_id() is explicitly checking both for preempt_count
value and irqs_disabled().

--
Jiri Kosina
SUSE Labs
--
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/