From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1101DC02198 for ; Fri, 14 Feb 2025 16:16:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7ECBB6B007B; Fri, 14 Feb 2025 11:16:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 775A46B0082; Fri, 14 Feb 2025 11:16:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5EFF26B0083; Fri, 14 Feb 2025 11:16:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 245F86B007B for ; Fri, 14 Feb 2025 11:16:12 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 88EA6140622 for ; Fri, 14 Feb 2025 16:16:11 +0000 (UTC) X-FDA: 83119052142.12.E91D766 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf17.hostedemail.com (Postfix) with ESMTP id 881E34001E for ; Fri, 14 Feb 2025 16:16:08 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=uFAVLGxd; spf=none (imf17.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1739549769; a=rsa-sha256; cv=none; b=64xtc4jwKuPV/Vm/rEWlG+U0lgBqXy6fU+5D4TEW2MZXH31Bwtjo42Eiiq0BBKsz6QcvJ0 ESuCaOPr2Q0ay9kp9WJZpYym/WFj7b84AotFCzegk56i4C8togx4G3ishZORETWcX5mWIi J9x4L9Q8ZDLrfGfnQfu1Cd+GMDGG5GQ= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=uFAVLGxd; spf=none (imf17.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1739549769; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=yszxBhdXIxOMKDgR5Ams0H6VL4l4tjK2fj+Y7S/786g=; b=xhq0dLPtPq2oyfI4faLjHuMdmz6UlhwMT8BHfIGMwg4G1c0DOPqMMvzWEcNJv8DElP3GEI gNuykq09iVGnz0xg2fUMV2MHwLo0xWwbUMZlwyRG6CxqHb7uXJ8BJyuJ+/8m3XYJe+u/Hp SGAVYCDuClnTdLz7FpjDRR4UCg5n70c= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=yszxBhdXIxOMKDgR5Ams0H6VL4l4tjK2fj+Y7S/786g=; b=uFAVLGxd5WSfTURAxxre/UCYKt 0Ti+uhLs1ehIxcMs+AXPQPAPhresx1Ag7o2Epcchusysyj0RqZvRTwwzjQh0YqTVe3OnJppwgoxLW fEImhrBpSejFVbFmNyTuTaguYFTYIz2xtBlhDWWzckTw65luBhYYTnFrNe0itvqMw+5qCO4fsH/Ig Y+woMu/FDJ2xqXciwc8wYq+AyPLGMIMbfAougUkrLWsjKnibPi3FdgD48t5aHX+EG7uqtfSHm6sGR xzladomTXySYECruUGRu1sw9HJzR9H5wroz54bIkHMKv+ouT+qjJLm48iLBm0K61LQs85Ohv4pPo3 fHn0Lfig==; Received: from willy by casper.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1tiyME-0000000BjXd-32Pf; Fri, 14 Feb 2025 16:16:02 +0000 Date: Fri, 14 Feb 2025 16:16:02 +0000 From: Matthew Wilcox To: Alistair Popple Cc: Dan Williams , Vishal Verma , Dave Jiang , nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 1/2] dax: Remove access to page->index Message-ID: References: <20241216155408.8102-1-willy@infradead.org> <677c78a121044_f58f29458@dwillia2-xfh.jf.intel.com.notmuch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 881E34001E X-Stat-Signature: ffzif3thgbtzbfdkoishemghirj1cfsf X-Rspam-User: X-Rspamd-Server: rspam10 X-HE-Tag: 1739549768-168506 X-HE-Meta: U2FsdGVkX1+PnvFQPXlyMDoatxip6buqoKgbjypReghF42EsTniqhaAgHBpHPPa+Lps5lPz4gARmek4Zt90ebyyZfy593rVK2jKz8PpVHvlELSxAsWfOT6trdkPvcyTeunc1u7uiDHZGssNdeuZ5AqleS60d44cGs/ISdT1fWtKbcywMV8wx4VHO7eGYanV6VRfiulBtJNnoGLNEP9W6FUIdAoiV0GXbYTGA2gTWG4lGXIBNQnyDavG6XrMk71F7/mzIXeSoyOvSkowI2TvJKhY2rwsqFIbATl446+eZ1BKj9ELNxRe4hXNfUEdS9SC/Z6MIJaZB/aovpijX3EU3DWp+vi8gCw/c0BKVfAlLlWFGiLa2YEwVKfglIoCKvYKHYRKv8rwu45cErVhlyzTwE3/UhhNRYaTU8oY+1N6B8S5o4oV1KSMyC9OLqFuXuVYg6nCyE+/NKsjqxfl8hhXTYj2t2YbrgTMgU25ptWHjekKoqG3a57ofOIg9z/9lLyRgqX4I0o8s36/rqurNPnYBaXg1a5UEU8Ko+ABUHErMDHQc/H8JzNnDwbxex13lCORBnqMJhskOEMhJ0L+t6C5c3hldoL9I/j+RIEpoNDkFah2y8W5OEVyYN2xsFo+HmH3PPz7Awm3w6MoFiw9bs4HHPE71e8HG01QsONKgGKbGR9X5OTGL+nmZxH694u4KYjKOqaB/uWCRh6Mt+FCJOekFB6MRZltlgWybfMCNXTfSbrGPMyHMAygXtJivkorlPz9qOjaTc8qiq0oLw06gCUFVuqhUe/GAtOwr/+HgjGHuNdadvnWo/PCsBikl59CJnQLn/QPbXpUyAYxtosuVr/R3XkiF/uat3Bn75+sKwXJtXnNL4HkN5Py1/r2vrq3m9yCfI30mcHsLM/ygz1Gkb4nlCQ2jn4S7Y8tkdhAv/MTyHrVz5LKZj+FNaylqeTWDiaL+ela3+9bVfb1t2/7CoGe RqWmm19+ QC+FKUD404L0l2KwT8rq4jckz3hYyCulEzVyMKQ4eZd2hJ30DbaGFu8s6KEJXAcc7ybed/1PBF+zuiYguKlYm13s1rYRrAFjsqcJZgO7sMh7y00kB8UducD6CNWptSmVpATJLoTg1f55KcZwbPqiWRUmLcfBTwxDlQTgpfk3cvefVqejYPY6qzt8hej0hxcBc1oqdDiXgDHVLf6Z/uxEGuIeb3VvmaGigUaYLd9/AB69r+BYAO4dlnrsRaIOiQS20JZmvAjaliYgU0nbG4frxcuepsQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, Jan 08, 2025 at 10:24:00AM +1100, Alistair Popple wrote: > On Mon, Jan 06, 2025 at 04:43:13PM -0800, Dan Williams wrote: > > Matthew Wilcox (Oracle) wrote: > > > This looks like a complete mess (why are we setting page->index at page > > > fault time?) > > > > Full story in Alistair's patches, but this a side effect of bypassing > > the page allocator for instantiating file-backed mappings. > > > > > but I no longer care about DAX, and there's no reason to > > > let DAX hold us back from removing page->index. > > > > Question is whether to move ahead with this now and have Alistair > > rebase, or push ahead with getting Alistair's series into -next? I am > > hoping that Alistair's series can move ahead this cycle, but still > > catching up on the latest after the holiday break. > > The rebase probably isn't that hard, but if we push ahead with my series it's > largely unnecessary as it moves this over to the folio anyway. I've just posted > a respin on top of next-20241216 - > https://lore.kernel.org/linux-mm/cover.425da7c4e76c2749d0ad1734f972b06114e02d52.1736221254.git-series.apopple@nvidia.com/ Looking at what's in linux-next today, there's no changes to dax_set_mapping(), so this patch still applies cleanly (patch 2/2 is obviated). Can you look at this patch (1/2) again and apply it if it seems good?