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

Ingo Molnar
2008-04-11T10:40:36Z

* Jiri Kosina <jkosina@suse.cz> wrote:

> On Fri, 11 Apr 2008, Ingo Molnar wrote:
>
> > > [ CCs added ]
> > thanks Jiri, i've applied both patches of yours. (let me know if there
> > are any updated patches) do they solve the problem?
>
> Hi Ingo,
>
> thanks, but I don't think they are the proper fix anymore. We'd rather
> figure out why interrupts were enabled in the first place while the
> code was running.
>
> Which is quite difficult, because Zdenek doesn't seem to be able to
> reproduce it, so we even don't know whether it has been caused by KVM
> or not.

if sticking a WARN_ON_ONCE(!irqs_disabled()) somewhere would help in
making the breakage more visible i'd be glad to apply such a patch.

Ingo