Re: [RFC PATCH] mm, memory_hotplug: fix off-by-one in is_pageblock_removable
From: Oscar Salvador
Date: Wed Feb 20 2019 - 03:33:51 EST
On Mon, Feb 18, 2019 at 07:15:44PM +0100, Michal Hocko wrote:
> From: Michal Hocko <mhocko@xxxxxxxx>
> Fixes: efad4e475c31 ("mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone")
> Reported-by: <rong.a.chen@xxxxxxxxx>
> Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
Looks good to me.
I glanced quickly over the memhotplug code and I did not see any other place
that could trigger the same problem.
Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>
--
Oscar Salvador
SUSE L3