Re: [PATCH v7 16/31] x86,fs/resctrl: Add and initialize rdt_resource for package scope core monitor
From: Reinette Chatre
Date: Fri Jul 25 2025 - 19:36:42 EST
Hi Tony,
In subject, should "core" be dropped?
On 7/11/25 4:53 PM, Tony Luck wrote:
> Add a new PERF_PKG resource and introduce package level scope for
> monitoring these events so that CPU hotplug notifiers can build domains
It is not obvious what "these events" refer to here.
> at the package granularity.
>
> Use the physical package ID available via topology_physical_package_id()
> to identify the monitoring domains with package level scope.
>
> This enables user space to use
> /sys/devices/system/cpu/cpuX/topology/physical_package_id
> to identify the monitoring domain a CPU is associated with.
Above two paragraphs can be merged?
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
Patch looks good.
Reinette