Re: [PATCH] mm/memremap: fix missing call to untrack_pfn() in pagemap_range()
From: Muchun Song
Date: Tue May 31 2022 - 11:30:48 EST
On Tue, May 31, 2022 at 08:26:43PM +0800, Miaohe Lin wrote:
> We forget to call untrack_pfn() to pair with track_pfn_remap() when range
> is not allowed to hotplug. Fix it by jump err_kasan.
>
> Fixes: bca3feaa0764 ("mm/memory_hotplug: prevalidate the address range being added with platform")
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Good catch.
Acked-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks.