Re: [PATCH] powerpc/smp: do not decrement idle task preempt count in CPU offline

2021-10-15 Thread Nathan Lynch
Valentin Schneider writes: > On 15/10/21 09:55, Nathan Lynch wrote: >> With PREEMPT_COUNT=y, when a CPU is offlined and then onlined again, we >> get: >> >> BUG: scheduling while atomic: swapper/1/0/0x >> no locks held by swapper/1/0. >> CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.0-rc

Re: [PATCH] powerpc/smp: do not decrement idle task preempt count in CPU offline

2021-10-15 Thread Valentin Schneider
On 15/10/21 09:55, Nathan Lynch wrote: > With PREEMPT_COUNT=y, when a CPU is offlined and then onlined again, we > get: > > BUG: scheduling while atomic: swapper/1/0/0x > no locks held by swapper/1/0. > CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.0-rc2+ #100 > Call Trace: > dump_stack_l