summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorwangxuewen <wangxuewen@kylinos.cn>2026-04-02 14:49:46 +0800
committerAndrew Morton <akpm@linux-foundation.org>2026-05-28 21:04:51 -0700
commitc70a9f639bfd662b95b5e3e64f4b62b13c237eca (patch)
treebb2b4f283520ca246e8e53c2c397c27df7487a3e /scripts/basic
parentd590df11be0f18cdf817fcd20e9f3c51962df5d7 (diff)
mm/memory-failure: replace magic number 3 with GET_PAGE_MAX_RETRY_NUM
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. Link: https://lore.kernel.org/20260402064946.1124250-1-18810879172@163.com Signed-off-by: wangxuewen <wangxuewen@kylinos.cn> Acked-by: SeongJae Park <sj@kernel.org> Acked-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Naoya Horiguchi <nao.horiguchi@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions