Re: [PATCH v2 02/24] x86/resctrl: Split struct rdt_domain

From: Reinette Chatre
Date: Wed Mar 31 2021 - 17:37:15 EST


Hi James,

On 3/12/2021 9:58 AM, James Morse wrote:
resctrl is the defacto Linux ABI for SoC resource partitioning features.
To support it on another architecture, it needs to be abstracted from
the features provided by Intel RDT and AMD PQoS, and moved to /fs/.

Split struct rdt_domain up too. Move everything that that is particular

s/that that/that/

to resctrl into a new header file. resctrl code paths touching a 'hw'
struct indicates where an abstraction is needed.

Similar to previous patch it would help to explain how this split was chosen. For example, why are the CPUs to which a resource is associated not considered a hardware property?

Thank you

Reinette