Re: [PATCH v3 12/13] mm: update resctl to use mmap_prepare
From: Lorenzo Stoakes
Date: Tue Sep 16 2025 - 14:04:01 EST
On Tue, Sep 16, 2025 at 02:40:27PM -0300, Jason Gunthorpe wrote:
> On Tue, Sep 16, 2025 at 03:11:58PM +0100, Lorenzo Stoakes wrote:
> > Make use of the ability to specify a remap action within mmap_prepare to
> > update the resctl pseudo-lock to use mmap_prepare in favour of the
> > deprecated mmap hook.
> >
> > Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
> > Acked-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
> > ---
> > fs/resctrl/pseudo_lock.c | 20 +++++++++-----------
> > 1 file changed, 9 insertions(+), 11 deletions(-)
>
> Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Thanks for this + all other tags, very much appreciated! :)
>
> Jason
Cheers, Lorenzo