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

Jiri Kosina
2008-04-07T22:04:48Z

On Tue, 8 Apr 2008, Andi Kleen wrote:

> > 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.

I know. However preempt_count is a little bit inconsistent in such cases
though.

--
Jiri Kosina