lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ