From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70710286A4 for ; Fri, 3 Apr 2026 00:36:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775176611; cv=none; b=A2a8B0d5Wy3ei/qGFvhqnVNS9PdUbNqKcOCyNz8JyzwxPwVYXtlWsfGfQYvcE7SH5p1nrjEsI69xoj/6XYRInkSbpHXKt5vC3O7EvqabOdSYgB0Z+nmEFV8k9surFfLwf7S4ut658yjw0hCo3edbw5ARyh3RKqYyNDg4y/jDz0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775176611; c=relaxed/simple; bh=Ba97r8vhLCnvHgzO40NHwuhEGNikej2QWiP9n0DFsu4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FCEjst/QDnivlNtR8K76SUc42+Yu2cH03i2Dgr4JwHPhwW6wLLIgnQyjbuJWPvnW/a2J88XlWlHBxZ+yxQ9AEzuDEZuFLWoUq79ZS/2GFvSZ1cJJsMPKza9/f46dveqOGwzC9OEQ98t+mD0Fr0yPqUdp+yGq7fY2GmQBzfc6yo8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Sn1Z+rWD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Sn1Z+rWD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A58E2C116C6; Fri, 3 Apr 2026 00:36:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775176611; bh=Ba97r8vhLCnvHgzO40NHwuhEGNikej2QWiP9n0DFsu4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sn1Z+rWDcZiUAPsy4N57cnw49pobdLxts3vrK3WEc3jG5onUS5RzcsZvUB2WsVRwE c3HXF55GYeu2okrQRYYvGrMsGmOvDw+PPPzNi7gQVUIL/4mCIuXkbx/iiT+5aV2//Q pQ8N+p9eW30W+aYC8VRpwk1ZNdapSCJl/SNc9FySvlkNrxZnd3p9JFsYa/OehqHZCT IR1N1FPPMUo1b2AGZIphHN3dmSVDZgeSuldnoLijVt536bw6YSk5Fy9sMyAYXsoEGo LUZsC2y3t2lvJ8kCkWGuf2XplcFdyzvEziyKlarDI/pDogHqUmC5sqdeOF55GKLeMn 2orWEJRVsSCow== From: SeongJae Park To: wangxuewen <18810879172@163.com> Cc: SeongJae Park , linmiaohe@huawei.com, nao.horiguchi@gmail.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, wangxuewen Subject: Re: [PATCH v1] mm/memory-failure: replace magic number 3 with GET_PAGE_MAX_RETRY_NUM Date: Thu, 2 Apr 2026 17:36:48 -0700 Message-ID: <20260403003649.46743-1-sj@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260402064946.1124250-1-18810879172@163.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, 2 Apr 2026 14:49:46 +0800 wangxuewen <18810879172@163.com> wrote: > From: wangxuewen > > 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 Acked-by: SeongJae Park Thanks, SJ [...]