Re: [PATCH 4/5] fs/resctrl: Drop unnecessary is_mba_linear() helper
From: Ben Horgan
Date: Mon Sep 07 2026 - 05:30:09 EST
Hi Reinette,
On 03/09/2026 17:57, 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: Ben Horgan <ben.horgan@xxxxxxx>
Thanks,
Ben