[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240612143335.1smVOgke@linutronix.de>
Date: Wed, 12 Jun 2024 16:33:35 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: John Ogness <john.ogness@...utronix.de>
Cc: xu xin <xu.xin.sc@...il.com>, xu.xin16@....com.cn,
linux-kernel@...r.kernel.org, linux-rt-users@...r.kernel.org,
liu.chun2@....com.cn, rostedt@...dmis.org, si.hao@....com.cn,
yang.yang29@....com.cn, zhang.yunkai@....com.cn
Subject: Re: [PATCH 5.10-rt] printk: ignore that console preempted by
irq/softirq
On 2024-06-03 22:17:35 [+0206], John Ogness wrote:
> On 2024-05-28, Sebastian Andrzej Siewior <bigeasy@...utronix.de> 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
Powered by blists - more mailing lists