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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E82AD6CFA6 for ; Thu, 22 Jan 2026 21:41:22 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4dxvdX6jCsz2xqL; Fri, 23 Jan 2026 08:41:20 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=172.105.4.254 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1769118080; cv=none; b=egfzN3g/66wUo5S5QI1dr0U2gQQ3iLiEYpb6E9j1pbypXriFGHz/SU6viRegsKy5poe4QjTZULJQNCaIUYGfb5vcREUc48JEOAu9KM96Dyy1Zv9ZakHnvoyz0J+1h/yeKd6U8XNT2qgn6DlTRmF9gCcX5UlWzckaWhOxrmjZ5OndQa23kaBiCOKl62dLHZVVMkeGnKX8ghA9TJbJ3k11KCoNlIkrCnsKCUetAiBNPnWVRWezSXilFfezjQpct01D5dcVuw/g1TV4AtjZN1sD35xJDKQzRp9PZYpMGAnhK9GFz88JFjVYLSwCX7R68iBBN+NjeulpRu3SaYAOgtfk0A== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1769118080; c=relaxed/relaxed; bh=OpYFVQ+VNJG8H/bYcBfO1oxUpkQ5dAYJneF97kYBjLE=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=O53Vbl+vAVXyUQJIeFIhjUeJk7ZGlp9FHV9VV8XlXk58lLiHlY51KOd+ZsKqyTKGdNka1jxUo23RmBC0k+CwJVCGb1NqGvB3V0wbiupWc7Tcjo+jnI9g6LQsP5yyq3jA28T/bNhcx+nDqY7jg6XdkDcakmHQb1APIaspGyGwBC5YIGNbE7kf9Av4seReu6z6GH319CBjvhM1SLcCSwImSZ1ttCQBKem53AewIxJzKkixkMxPOUO0aTmnooB3UDp+H2MFtdjn1ijQSmxU2k7l5jNsgpf1R8/Z491XmiUt17mDQKz5tvMa7Z7l48ihrsoxW6M+qAymqCVCCyu1oOCj2Q== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=nbhvWI6F; dkim-atps=neutral; spf=pass (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) smtp.mailfrom=linux-foundation.org Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=linux-foundation.org header.i=@linux-foundation.org header.a=rsa-sha256 header.s=korg header.b=nbhvWI6F; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux-foundation.org (client-ip=172.105.4.254; helo=tor.source.kernel.org; envelope-from=akpm@linux-foundation.org; receiver=lists.ozlabs.org) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) (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 4dxvdW4W4jz2xdY for ; Fri, 23 Jan 2026 08:41:19 +1100 (AEDT) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id AD66160018; Thu, 22 Jan 2026 21:41:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 482E1C116C6; Thu, 22 Jan 2026 21:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1769118076; bh=o3gdWNkDSd9Vm/DMgr4/ykIAOvt43+NsJA/Imw15e/A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=nbhvWI6FsmrV2v6DkoSqN8213V2yIRhOd6eP75LypoUaN54UBoDiDxVp1akq7FG3f CVLIelPV0CkF4x7Juc3HDczRCXMl0AOZY4EUYaiK0pNhQfi7cbwzUhOkV6AnNppJ9U SqiE6hXL+nm2nlnc5o4hmp73evXdLpeOeMX2qi64= Date: Thu, 22 Jan 2026 13:41:14 -0800 From: Andrew Morton To: Balbir Singh Cc: Vlastimil Babka , Matthew Brost , Zi Yan , Jason Gunthorpe , Matthew Wilcox , Alistair Popple , Francois Dugast , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, adhavan Srinivasan , Nicholas Piggin , Michael Ellerman , "Christophe Leroy (CS GROUP)" , Felix Kuehling , Alex Deucher , Christian =?UTF-8?B?S8O2bmln?= , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Lyude Paul , Danilo Krummrich , David Hildenbrand , Oscar Salvador , Leon Romanovsky , Lorenzo Stoakes , "Liam R . Howlett" , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-mm@kvack.org, linux-cxl@vger.kernel.org Subject: Re: [PATCH v6 1/5] mm/zone_device: Reinitialize large zone device private folios Message-Id: <20260122134114.a04ddf4c34a4b926d057032f@linux-foundation.org> In-Reply-To: <626c34fc-34df-4629-baf3-fbebc9abafbb@nvidia.com> References: <4k72r4n5poss2glrof5fsapczkpcrnpokposeikw5wjvtodbto@wpqsxoxzpvy6> <20260119142019.GG1134360@nvidia.com> <96926697-070C-45DE-AD26-559652625859@nvidia.com> <20260119203551.GQ1134360@nvidia.com> <20260120135340.GA1134360@nvidia.com> <9077ab5b-f2c8-4c8d-8441-631e7c2cf384@suse.cz> <626c34fc-34df-4629-baf3-fbebc9abafbb@nvidia.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Thu, 22 Jan 2026 20:10:44 +1100 Balbir Singh wrote: > >> - Intel has demonstrated that this works and is still getting blocked. > >> > >> - This entire thread is about a fixes patch for large device pages. > >> Changing prep_compound_page is completely out of scope for a fixes > >> patch, and honestly so is most of the rest of what’s being proposed. > > > > FWIW I'm ok if this lands as a fix patch, and perceived the discussion to be > > about how refactor things more properly afterwards, going forward. > > > > I've said the same thing and I concur, we can use the patch as-is and > change this to set the relevant identified fields after 6.19 So the plan is to add this patch to 6.19-rc and take another look at patches [2-5] during next -rc cycle? I think the plan is to take Matthew's work via the DRM tree? But if people want me to patchbunny this fix then please lmk. I presently have Signed-off-by: Matthew Brost Signed-off-by: Francois Dugast Acked-by: Felix Kuehling Reviewed-by: Balbir Singh If people wish to add to this then please do so. I'll restore this patch into mm.git's hotfix branch (and hence linux-next) because testing.