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

From: Andi Kleen
Date: Mon Apr 07 2008 - 18:02:47 EST


Jiri Kosina <jkosina@xxxxxxx> writes:
>
> It is not safe to call smp_processor_id() in cases we are not sure someone
> will not reschedule us.

We are sure. Machine checks always run with interrupts off.

Also BTW in a non preempt-rt kernel all exceptions run non preemptable
anyways.

-Andi
--
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/