[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YpY0nEL2c2oHMqqi@FVFYT0MHHV2J.googleapis.com>
Date: Tue, 31 May 2022 23:30:36 +0800
From: Muchun Song <songmuchun@...edance.com>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: akpm@...ux-foundation.org, anshuman.khandual@....com,
david@...hat.com, osalvador@...e.de, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/memremap: fix missing call to untrack_pfn() in
pagemap_range()
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@...wei.com>
Good catch.
Acked-by: Muchun Song <songmuchun@...edance.com>
Thanks.
Powered by blists - more mailing lists