public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: John Ogness <john.ogness@linutronix.de>
Cc: xu xin <xu.xin.sc@gmail.com>,
	xu.xin16@zte.com.cn, linux-kernel@vger.kernel.org,
	linux-rt-users@vger.kernel.org, liu.chun2@zte.com.cn,
	rostedt@goodmis.org, si.hao@zte.com.cn, yang.yang29@zte.com.cn,
	zhang.yunkai@zte.com.cn
Subject: Re: [PATCH  5.10-rt] printk: ignore that console preempted by irq/softirq
Date: Wed, 12 Jun 2024 16:33:35 +0200	[thread overview]
Message-ID: <20240612143335.1smVOgke@linutronix.de> (raw)
In-Reply-To: <87cyoxeqh4.fsf@jogness.linutronix.de>

On 2024-06-03 22:17:35 [+0206], John Ogness wrote:
> On 2024-05-28, Sebastian Andrzej Siewior <bigeasy@linutronix.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

      reply	other threads:[~2024-06-12 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23 15:55 [PATCH 5.10-rt] printk: ignore that console preempted by irq/softirq xu.xin16
2024-05-26 17:46 ` John Ogness
2024-05-27  9:24 ` Sebastian Andrzej Siewior
2024-05-28  6:40 ` xu xin
2024-05-28 15:29   ` Sebastian Andrzej Siewior
2024-06-03 20:11     ` John Ogness
2024-06-12 14:33       ` Sebastian Andrzej Siewior [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240612143335.1smVOgke@linutronix.de \
    --to=bigeasy@linutronix.de \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=liu.chun2@zte.com.cn \
    --cc=rostedt@goodmis.org \
    --cc=si.hao@zte.com.cn \
    --cc=xu.xin.sc@gmail.com \
    --cc=xu.xin16@zte.com.cn \
    --cc=yang.yang29@zte.com.cn \
    --cc=zhang.yunkai@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox