[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB6083CCA2A7904E459B1AA35DFCA8A@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Thu, 18 Dec 2025 21:49:23 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "Moger, Babu" <bmoger@....com>, Aaron Tomlin <atomlin@...mlin.com>,
"Chatre, Reinette" <reinette.chatre@...el.com>, "Dave.Martin@....com"
<Dave.Martin@....com>, "james.morse@....com" <james.morse@....com>,
"babu.moger@....com" <babu.moger@....com>, "tglx@...utronix.de"
<tglx@...utronix.de>, "mingo@...hat.com" <mingo@...hat.com>, "bp@...en8.de"
<bp@...en8.de>, "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>
CC: "sean@...e.io" <sean@...e.io>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 3/3] x86/resctrl: Add "*" shorthand to set minimum
io_alloc CBM for all domains
> + if (id && *id == '*') {
That will accept arbitrary chars after the "*".
if (id && !strcmp(id, "*"))
> What do you think?
Why is io_alloc special? The same simple change could apply to parse_line() to allow
setting all domains in a resource to be set to the same value:
# echo "L3:*=fff" > schemata
# echo "MB:*=50" > schemata
-Tony
Powered by blists - more mailing lists