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

Andi Kleen
2008-04-11T11:33:28Z

> thanks Pavel, i picked this up into sched-devel.git - it makes sense
> independently of whether it solves the warning.

This means the CPU preempt sanity checking is effectively disabled
on UP kernels. Even though more and more people should run multi-core
now there is still a sizeable user base left on single core.

Don't think this is a good idea. We need even the UP testers.

If he wants this for suspend or machine check/oops (always useful there
to disable such warnings) then there should
be separate checks for this. Perhaps system_state could be enhanced for this?

-Andi