Re: [PATCH RT 6/8] sched: migrate_enable: Set state to TASK_RUNNING

2019-09-17 Thread Scott Wood
On Tue, 2019-09-17 at 17:31 +0200, Sebastian Andrzej Siewior wrote: > On 2019-07-27 00:56:36 [-0500], Scott Wood wrote: > > If migrate_enable() is called while a task is preparing to sleep > > (state != TASK_RUNNING), that triggers a debug check in stop_one_cpu(). > > Explicitly reset state to ackn

Re: [PATCH RT 6/8] sched: migrate_enable: Set state to TASK_RUNNING

2019-09-17 Thread Sebastian Andrzej Siewior
On 2019-07-27 00:56:36 [-0500], Scott Wood wrote: > If migrate_enable() is called while a task is preparing to sleep > (state != TASK_RUNNING), that triggers a debug check in stop_one_cpu(). > Explicitly reset state to acknowledge that we're accepting the spurious > wakeup. > > Signed-off-by: Scot