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] [thread-next>] [day] [month] [year] [list]
Message-ID: <aRI0GOp-gQmBTV3Q@slm.duckdns.org>
Date: Mon, 10 Nov 2025 08:51:04 -1000
From: Tejun Heo <tj@...nel.org>
To: Andrea Righi <andrea.righi@...ux.dev>
Cc: David Vernet <void@...ifault.com>, Changwoo Min <changwoo@...lia.com>,
	Dan Schatzberg <schatzberg.dan@...il.com>,
	Emil Tsalapatis <etsal@...a.com>, sched-ext@...ts.linux.dev,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 06/13] sched_ext: Exit dispatch and move operations
 immediately when aborting

On Mon, Nov 10, 2025 at 09:20:15AM +0100, Andrea Righi wrote:
> > @@ -5635,6 +5609,13 @@ static bool scx_dsq_move(struct bpf_iter_scx_dsq_kern *kit,
> >  	    !scx_kf_allowed(sch, SCX_KF_DISPATCH))
> >  		return false;
> >  
> > +	/*
> > +	 * If the BPF scheduler keeps calling this function repeatedly, it can
> > +	 * cause similar live-lock conditions as consume_dispatch_q().
> > +	 */
> > +	if (unlikely(scx_aborting))
> 
> READ_ONCE(scx_aborting)?

Updated.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ