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: <ZvGdCQ1G5eoxEUX3@slm.duckdns.org>
Date: Mon, 23 Sep 2024 06:53:29 -1000
From: Tejun Heo <tj@...nel.org>
To: andrea.righi@...ux.dev
Cc: David Vernet <void@...ifault.com>,
	Giovanni Gherdovich <giovanni.gherdovich@...e.com>,
	Kleber Sacilotto de Souza <kleber.souza@...onical.com>,
	Marcelo Henrique Cerri <marcelo.cerri@...onical.com>,
	Phil Auld <pauld@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched_ext: Provide a sysfs enable_seq counter

On Sat, Sep 21, 2024 at 09:39:21PM +0200, andrea.righi@...ux.dev wrote:
> From: Andrea Righi <andrea.righi@...ux.dev>
> 
> As discussed during the distro-centric session within the sched_ext
> Microconference at LPC 2024, introduce a sequence counter that is
> incremented every time a BPF scheduler is loaded.
> 
> This feature can help distributions in diagnosing potential performance
> regressions by identifying systems where users are running (or have ran)
> custom BPF schedulers.
> 
> Example:
> 
>  arighi@...tme-ng~> cat /sys/kernel/sched_ext/enable_seq
>  0
>  arighi@...tme-ng~> sudo scx_simple
>  local=1 global=0
>  ^CEXIT: unregistered from user space
>  arighi@...tme-ng~> cat /sys/kernel/sched_ext/enable_seq
>  1
> 
> In this way user-space tools (such as Ubuntu's apport and similar) are
> able to gather and include this information in bug reports.
> 
> Cc: Giovanni Gherdovich <giovanni.gherdovich@...e.com>
> Cc: Kleber Sacilotto de Souza <kleber.souza@...onical.com>
> Cc: Marcelo Henrique Cerri <marcelo.cerri@...onical.com>
> Cc: Phil Auld <pauld@...hat.com>
> Signed-off-by: Andrea Righi <andrea.righi@...ux.dev>

Applied to sched_ext/for-6.12-fixes.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ