Re: [PATCH v3 02/10] x86/cpufeatures: Add Slow Memory Bandwidth Allocation feature flag

From: Reinette Chatre
Date: Tue Aug 30 2022 - 18:28:39 EST


Hi Babu,

On 8/30/2022 3:10 PM, Moger, Babu wrote:
> On 8/30/2022 11:39 AM, Reinette Chatre wrote:

>> Would the "SMBA" resource be available only when CXL.mem devices are present
>> on the system? Since this is a CPU feature it is unclear to me whether
>> presence of CXL.mem devices would be known at the time "SMBA" is enumerated.
>> Could the "SMBA" resource thus exist without memory to throttle?
>
> Yes.The presence of the SMBA feature(with CXL.mem) is independent of whether slow memory is actually present in the system.If there is no slow memory, then setting a SMBA limit will have no impact on the performance of the system.
>

I think this is significant and should also be documented.

Reinette