Re: [PATCH] powerpc: preempt: Don't touch the idle task's preempt_count during hotplug

2021-07-08 Thread Michael Ellerman
On Wed, 7 Jul 2021 19:38:31 +0100, Valentin Schneider wrote: > Powerpc currently resets a CPU's idle task preempt_count to 0 before said > task starts executing the secondary startup routine (and becomes an idle > task proper). > > This conflicts with commit > > f1a0a376ca0c ("sched/core: Initi

Re: [PATCH] powerpc: preempt: Don't touch the idle task's preempt_count during hotplug

2021-07-08 Thread Bharata B Rao
On Wed, Jul 07, 2021 at 07:38:31PM +0100, Valentin Schneider wrote: > Powerpc currently resets a CPU's idle task preempt_count to 0 before said > task starts executing the secondary startup routine (and becomes an idle > task proper). > > This conflicts with commit > > f1a0a376ca0c ("sched/core

Re: [PATCH] powerpc: preempt: Don't touch the idle task's preempt_count during hotplug

2021-07-07 Thread Guenter Roeck
On Wed, Jul 07, 2021 at 07:38:31PM +0100, Valentin Schneider wrote: > Powerpc currently resets a CPU's idle task preempt_count to 0 before said > task starts executing the secondary startup routine (and becomes an idle > task proper). > > This conflicts with commit > > f1a0a376ca0c ("sched/core

[PATCH] powerpc: preempt: Don't touch the idle task's preempt_count during hotplug

2021-07-07 Thread Valentin Schneider
Powerpc currently resets a CPU's idle task preempt_count to 0 before said task starts executing the secondary startup routine (and becomes an idle task proper). This conflicts with commit f1a0a376ca0c ("sched/core: Initialize the idle task with preemption disabled") which initializes all of th