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 943F42D3EC7 for ; Thu, 2 Apr 2026 17:43:20 +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=1775151800; cv=none; b=WBeXBkcQ1cD0hiMvOEVToQAG+h8zeS18wt0YnlK7qO5Ev34h9Tfs2J3DfwFujnPtUCfZHL8Pyl99GaX8DX+3dUbMEMHygA0T1ZdwjQy3Qe0EAFrdy33OWr9F9ebY28H34X1+V9kjQRbXTsks9sSegeuRsZe+Zo1IAoyIDcziRk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775151800; c=relaxed/simple; bh=pwKNwUVxaCXmByQYLzB9FJ8TI+JLhbOG0OeFI7p7Tvc=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=XempHDcikX88OGqhdb37ZIbk2dZITdtZ4bc/1bEzwZRlCH2ilDCv1iu3EuW7A6kOAbvQhn6tVaoU8n8rVtLUma2+GmKK523K3v1Exq2//k8GmKDqglGr8zEbZ8sJUYcxfO1kCYCX7HncJAvYSmZjiRbNs2Dpp0LJnmSiTb4JxWY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=czSrDZIL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="czSrDZIL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBDF4C19424; Thu, 2 Apr 2026 17:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1775151800; bh=pwKNwUVxaCXmByQYLzB9FJ8TI+JLhbOG0OeFI7p7Tvc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=czSrDZILnsKbdHGSnLQYTwEaGYqq1Eys5MgpsnTmr1OE+loHk8za6CyUJ1fbc67Fl L1hTeARHjogiQO/BHioswYcf/glIPYuOlkbNKCxYP/ThWKdR3BDEOFgloDe9uFD565 3rwi26YzxpX+5kyQE1+ACOyUMDUNG8SzR7/jSWcw= Date: Thu, 2 Apr 2026 10:43:19 -0700 From: Andrew Morton To: Pratyush Yadav Cc: Chenghao Duan , pasha.tatashin@soleen.com, rppt@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, jianghaoran@kylinos.cn Subject: Re: [PATCH v3 5/7] mm/memfd_luo: fix physical address conversion in put_folios cleanup Message-Id: <20260402104319.14186685ea81dc91bddfd6d8@linux-foundation.org> In-Reply-To: <2vxz4ilthb9s.fsf@kernel.org> References: <20260326084727.118437-1-duanchenghao@kylinos.cn> <20260326084727.118437-6-duanchenghao@kylinos.cn> <2vxz4ilthb9s.fsf@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 02 Apr 2026 11:06:23 +0000 Pratyush Yadav wrote: > > Fix by converting PFN to physical address with PFN_PHYS() and adding > > the !pfolio->pfn check, matching the pattern used elsewhere in this file. > > > > This issue was identified by the AI review. > > https://sashiko.dev/#/patchset/20260323110747.193569-1-duanchenghao@kylinos.cn > > > > Signed-off-by: Chenghao Duan > > Reviewed-by: Pratyush Yadav Thanks. > Andrew, can you please add: > > Fixes: b3749f174d68 ("mm: memfd_luo: allow preserving memfd") > Cc: stable@vger.kernel.org Done.