Re: [PATCH 0/1] fs/resctrl: Show domain CPU list in schema output

From: Aaron Tomlin

Date: Wed Nov 05 2025 - 23:41:11 EST


On Mon, Nov 03, 2025 at 04:19:05PM +0000, Dave Martin wrote:
> Partly, but existing software that reads the file is also likely to get
> confused by the new syntax appearing when reading the file.

Hi Dave,

Thank you for your feedback.

I agree.

> Note, using a comma as a delimiter may be problematic with %pbl-style
> lists, since if the list is discontiguous then the pretty-printed list
> can contain commas too.

Fair point.

> In theory, a alternate write syntax could be supported without
> breaking compatibility, say:
>
> cpu<n>=<mask>
>
> instead of
>
> <domain>=<main>
>
> as a alternative way of referring to the control domain containing
> CPU <n>.
>
> But I think that this may do as much harm as good -- if the user
> doesn't understand the topology, trying to program the masks on a per-
> CPU basis isn't going to work do what the user wants anyway.
>
> So I think we'd want a good argument as to why this is needed / useful.

Understood. What Tony mentioned previously is sufficient; I should have
reviewed drivers/base/cacheinfo.c before posting.


Kind regards,
--
Aaron Tomlin