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

From: Chen Yu

Date: Fri Sep 04 2026 - 01:07:36 EST


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>

thanks,
Chenyu