Re: [PATCH] mm/memory-failure: unecessary amount of unmapping

From: HORIGUCHI NAOYA(堀口 直也)
Date: Mon Apr 19 2021 - 20:48:50 EST


On Mon, Apr 19, 2021 at 06:28:21PM -0600, Jane Chu wrote:
> It appears that unmap_mapping_range() actually takes a 'size' as its
> third argument rather than a location, the current calling fashion
> causes unecessary amount of unmapping to occur.
>
> Fixes: 6100e34b2526e ("mm, memory_failure: Teach memory_failure() about dev_pagemap pages")
> Signed-off-by: Jane Chu <jane.chu@xxxxxxxxxx>

Thanks,

Reviewed-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>