Re: [PATCH v5] sched/fair: Use sched_domain_span() for topology_span_sane()
From: Peter Zijlstra
Date: Mon Aug 25 2025 - 07:17:04 EST
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.
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.