Re: [PATCH v1] mm/memory-failure: replace magic number 3 with GET_PAGE_MAX_RETRY_NUM
From: SeongJae Park
Date: Thu Apr 02 2026 - 20:44:42 EST
On Thu, 2 Apr 2026 14:49:46 +0800 wangxuewen <18810879172@xxxxxxx> wrote:
> From: wangxuewen <wangxuewen@xxxxxxxxxx>
>
> Replace the hardcoded magic number 3 in get_any_page() with the
> existing GET_PAGE_MAX_RETRY_NUM macro for code consistency and
> maintainability.
>
> This change has no functional impact, only improves code readability
> and unifies the retry limit configuration.
>
> Signed-off-by: wangxuewen <wangxuewen@xxxxxxxxxx>
Acked-by: SeongJae Park <sj@xxxxxxxxxx>
Thanks,
SJ
[...]