Re: [PATCH 4/5] fs/resctrl: Drop unnecessary is_mba_linear() helper

From: Reinette Chatre

Date: Fri Sep 04 2026 - 12:23:28 EST


Hi Chenyu,

On 9/3/26 9:38 PM, Chen Yu wrote:
> On Thu, Sep 03, 2026 at 09:57:06AM -0700, Reinette Chatre wrote:
>> is_mba_linear() assumes it operates on the MBA resource and returns whether
>> the resource is linear. There is only one caller that separately makes the
>> same assumption.
>>
>> Avoid duplicating the resource assumptions and let the only caller access
>> the needed property directly.
>>
>> Signed-off-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
>> ---
>
> Reviewed-by: Chen Yu <yu.c.chen@xxxxxxxxx>
>

Thank you very much.

Reinette