On 2024-06-03 22:17:35 [+0206], John Ogness wrote: > On 2024-05-28, Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> wrote: > > There is a `may_sleep` variable set earlier. Couldn't that be re-used? > > Since the printing thread cannot preempt the softirq context and since > the printing threads are not started before @system_state is > SYSTEM_RUNNING, using @may_sleep is OK. will there be a repost? > if (!may_sleep && > con->thread && > task_cpu(con->thread) == smp_processor_id()) { > continue; > } > > John Ogness Sebastian