Re: [PATCH v9 4/8] x86/resctrl: Split the rdt_domain and rdt_hw_domain structures

From: Reinette Chatre
Date: Mon Oct 30 2023 - 17:21:38 EST


Hi Tony,

On 10/20/2023 2:30 PM, Tony Luck wrote:
> The same rdt_domain structure is used for both control and monitor
> functions. But this results in wasted memory as some of the fields are
> only used by control functions, while most are only used for monitor
> functions.
>
> Split into separate rdt_ctrl_domain and rdt_mon_domain structures with
> just the fields required for control and monitoring respectively.

Sounds like a motivation for the cpumask to form part of the
common header?

Reinette