Re: [PATCH v3 02/15] mm, hwpoison: remove recalculating hpage

From: Mike Kravetz
Date: Tue Jun 30 2020 - 19:45:44 EST


On 6/24/20 8:01 AM, nao.horiguchi@xxxxxxxxx wrote:
> From: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
>
> hpage is never used after try_to_split_thp_page() in memory_failure(),
> so we don't have to update hpage. So let's not recalculate/use hpage.
>
> Suggested-by: "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxx>
> Signed-off-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>

Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>
--
Mike Kravetz