From: Chao Yu <chao@kernel.org>
To: Nilay Vaish <nilayvaish@google.com>, Gao Xiang <xiang@kernel.org>
Cc: chao@kernel.org, Yue Hu <zbestahu@gmail.com>,
Jingbo Xu <jefflexu@163.com>,
Sandeep Dhavale <dhavale@google.com>,
Hongbo Li <hongbohbli@tencent.com>,
Chunhai Guo <guochunhai@vivo.com>,
linux-erofs@lists.ozlabs.org
Subject: Re: [PATCH] erofs: use page_private() in z_erofs_is_shortlived_page()
Date: Wed, 2 Dec 2026 19:22:23 +0800 [thread overview]
Message-ID: <a77932ad-eae2-4dd2-917a-36a2e1e0b555@kernel.org> (raw)
In-Reply-To: <20261124033701.832938-1-nilayvaish@google.com>
On 11/24/26 11:37, Nilay Vaish wrote:
> Short-lived pages are marked with set_page_private(), but
> z_erofs_is_shortlived_page() tests the marker by reading page->private
> directly.
>
> struct page is being shrunk as part of the memdesc work, and its private
> field is one of those that will move. Direct users have to go through
> the accessors before that can happen.
>
> Read the marker with page_private(), to match how it is set.
>
> No functional change.
>
> Signed-off-by: Nilay Vaish <nilayvaish@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
prev parent reply other threads:[~2026-12-02 11:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 3:37 [PATCH] erofs: use page_private() in z_erofs_is_shortlived_page() Nilay Vaish
2026-11-28 4:11 ` Gao Xiang
2026-12-02 11:22 ` Chao Yu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a77932ad-eae2-4dd2-917a-36a2e1e0b555@kernel.org \
--to=chao@kernel.org \
--cc=dhavale@google.com \
--cc=guochunhai@vivo.com \
--cc=hongbohbli@tencent.com \
--cc=jefflexu@163.com \
--cc=linux-erofs@lists.ozlabs.org \
--cc=nilayvaish@google.com \
--cc=xiang@kernel.org \
--cc=zbestahu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.