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: <20260121161653.GH166857@noisy.programming.kicks-ass.net>
Date: Wed, 21 Jan 2026 17:16:53 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: K Prateek Nayak <kprateek.nayak@....com>
Cc: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
	Vincent Guittot <vincent.guittot@...aro.org>,
	linux-kernel@...r.kernel.org,
	Dietmar Eggemann <dietmar.eggemann@....com>,
	Steven Rostedt <rostedt@...dmis.org>,
	Ben Segall <bsegall@...gle.com>, Mel Gorman <mgorman@...e.de>,
	Valentin Schneider <vschneid@...hat.com>,
	Chen Yu <yu.c.chen@...el.com>,
	Shrikanth Hegde <sshegde@...ux.ibm.com>,
	"Gautham R. Shenoy" <gautham.shenoy@....com>
Subject: Re: [PATCH v3 0/8] sched/topology: Optimize sd->shared allocation

On Tue, Jan 20, 2026 at 11:32:38AM +0000, K Prateek Nayak wrote:

> "sd->shared" is only allocated for the topmost SD_SHARE_LLC domain and
> the topology layer uses the sched domain degeneration path to pass the
> reference to the final "sd_llc" domain. 

I'm fairly sure we've had patches that introduced it for other levels at
various times, but clearly none of those ever made it.

Anyway, a quick peek seems to suggest it is still easy to extend.


>  include/linux/sched/topology.h |   1 -
>  kernel/sched/fair.c            |  62 +++++++-----------
>  kernel/sched/sched.h           |   2 +-
>  kernel/sched/topology.c        | 111 ++++++++++++++++++++++-----------
>  4 files changed, 101 insertions(+), 75 deletions(-)

Is this really worth the extra lines though?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ