[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5e944719-fef5-4dad-a468-4c57a78dae41@amd.com>
Date: Mon, 25 Aug 2025 17:46:40 +0530
From: K Prateek Nayak <kprateek.nayak@....com>
To: Peter Zijlstra <peterz@...radead.org>
CC: Ingo Molnar <mingo@...hat.com>, Juri Lelli <juri.lelli@...hat.com>,
Vincent Guittot <vincent.guittot@...aro.org>, Valentin Schneider
<vschneid@...hat.com>, Leon Romanovsky <leon@...nel.org>,
<linux-kernel@...r.kernel.org>, Steve Wahl <steve.wahl@....com>, "Borislav
Petkov" <bp@...en8.de>, Dietmar Eggemann <dietmar.eggemann@....com>, "Steven
Rostedt" <rostedt@...dmis.org>, Ben Segall <bsegall@...gle.com>, Mel Gorman
<mgorman@...e.de>, <srikar@...ux.vnet.ibm.com>, <hca@...ux.ibm.com>
Subject: Re: [PATCH v5] sched/fair: Use sched_domain_span() for
topology_span_sane()
On 8/25/2025 4:46 PM, Peter Zijlstra wrote:
> On Mon, Aug 25, 2025 at 04:17:52PM +0530, K Prateek Nayak wrote:
>
>> The above helpers may need guarding behind CONFIG_SCHED_{SMT,CLUSTER,MC}
>> if I'm not mistaken. Possibility for some unification and cleanup with:
>>
>
>> Thoughts?
>
> I hate we need __maybe_unused on static inline functions, but yeah, that
> might be nicer.
I couldn't find a better solution unfortunately :(
>
> Can you fold the lot and stick that nice Changelog on? Then I'll get it
> into sched/core and we can forget all about this stuff.
Okey dokey! Posted the changes as v6 at:
https://lore.kernel.org/lkml/20250825120244.11093-1-kprateek.nayak@amd.com/
--
Thanks and Regards,
Prateek
Powered by blists - more mailing lists