From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B319606A31A for ; Wed, 2 Dec 2026 11:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=n1DVoLHj Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4jfb2Z1f8Bz2xPb; Wed, 02 Dec 2026 22:22:30 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=172.234.252.31 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1796210550; cv=none; b=hUSFZsJtXp+uF/EYFEOLhXKvkqcGuhALq1YfQn1kHEou3TCi8ZvlD/khIO5iFfUC3KCu0IGoWFASgCLd1W5Ku9JltqosmD4KSm+mzpj+l5DH2xThJ09AB42dR0fgS01VNFLqxATX0aJ7tl3W06iDP7MgoFkXuYE5KYmDr6ObaUF45WOrSvJV+X5swMSNxm2BJsmlSUOAB1J7pTsnKAcGXMeG67wjojRc+j2e1cVhWOWOOhhCf3YkUgrMsZqZnZTIgf+0B9YQVlXsYg73qSAf9bTMPVY5QZpd4bUkDgJM/jRthnNN+IT+K1kbu5WDThaimBYodxHnow9WAK5/q2uyVA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1796210550; c=relaxed/relaxed; bh=kD1ztD/8qJ9txHqt7JxMgBdIUaDYcYU1w6SP6x7lRS0=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=LQYdbW4HA5ABY5scWMG6pJUTo59qu15ww0NMkYfHmvVfOcjqC+fOOzB/kGEAZ0vPJAKApeWwBU0lgHA0wJPRuUBFx7W2omM1/x2vPmrihTcTuDHucpWiAQILVC7Kw0tGtSoPxB17GYgmBbiO4KbNZfWvXqCFbzA2DUnZ1Lob0rDA7DTO33Q3sOTeVsA8UXXS/dhIgwc7DJn//Tjp55ske2xGKWLCkk8b9W95qutjHGLS9S9GfTX/cKPYBiRSr3dTy76DyLx0bz30rIFFybZ/zbBSlzC57jF6Zo+qk0p6Xcq+9vj6FHy9mIwWHzQnGanxzJPx/2XczLR/DN5ovrYaiQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=n1DVoLHj; dkim-atps=neutral; spf=pass (client-ip=172.234.252.31; helo=sea.source.kernel.org; envelope-from=chao@kernel.org; receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=n1DVoLHj; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=172.234.252.31; helo=sea.source.kernel.org; envelope-from=chao@kernel.org; receiver=lists.ozlabs.org) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4jfb2Y2vyfz2xNC for ; Wed, 02 Dec 2026 22:22:29 +1100 (AEDT) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 4964A4391F; Wed, 2 Dec 2026 11:22:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74B761F00896; Wed, 2 Dec 2026 11:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796210547; bh=kD1ztD/8qJ9txHqt7JxMgBdIUaDYcYU1w6SP6x7lRS0=; h=Date:Cc:Subject:To:References:From:In-Reply-To; b=n1DVoLHj9xPrg5QnHE9CWDI/zDSoLk5v1/9uGU23O5NOXyPT4Z3dJeNK7OV67ScpH BmB6/TuHfq8TIJVxtG1ccNQFn3Zt2olM8utLOrOOJdtVem9ajHQlk19AyVK+yPbaZ2 D42Vweg+pfVT1x4ztMG8ug5U4zLqKQSTqWquUFaRprq72P2l8MfZ2mcIUmtXmHsYFh ClUj6peRHAEJu9VLYz8pCQRHRoaNM6Izx2BEXJ9apGu1sblztgmH9XREP/6Go7XRya AR/yT7RqV6gEt+PNf5GX9ydiTSHw2nE1mZ5KdsOHZc4xsZCaxkm37vum5XQWXz8nyB e9zDABAFO7zEQ== Message-ID: Date: Wed, 2 Dec 2026 19:22:23 +0800 X-Mailing-List: linux-erofs@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Subscribe: , , Precedence: list X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: chao@kernel.org, Yue Hu , Jingbo Xu , Sandeep Dhavale , Hongbo Li , Chunhai Guo , linux-erofs@lists.ozlabs.org Subject: Re: [PATCH] erofs: use page_private() in z_erofs_is_shortlived_page() To: Nilay Vaish , Gao Xiang References: <20261124033701.832938-1-nilayvaish@google.com> Content-Language: en-US From: Chao Yu In-Reply-To: <20261124033701.832938-1-nilayvaish@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 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 Reviewed-by: Chao Yu Thanks,