From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 53228318BB5 for ; Wed, 28 Jan 2026 16:29:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769617795; cv=none; b=kJkDzuMN64I2YEfmBmVnU9GcTuJVbB1Gb+qm0mSCp4T19UKHSUBRPKsgwo3v6mSkxeuDg71eRRvmzQosycmFbbxhO9/gm/1/FqMlJYD0dI9OtstTREP+PcH8IFSk0HtAAYxKqNbtluyoABirbBEZ2nfrsCt7J0mFUgm6Iie6P+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769617795; c=relaxed/simple; bh=5oS65Al6L4oI09DdOIru6qZ7mI837HGVd0GfSic6ARE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MnQbL34W7jmV2gKY4OBVFJWup+C7HIGubM8DdaXzMbNRn8zY1LdCVC5tbpPgm9MGe4zcFqj/NuIaxjxZ4LdZKxVNz03sir+VaOpvkwV0RD2lqz0c6xtkhaoNBZpiUK/BNZco4EuwmoZwO8tMtlR7Eb0yiouRUrzEWDqhkJMhVu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=DnlvIKsp; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="DnlvIKsp" Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id B3ED040E01A3; Wed, 28 Jan 2026 16:29:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wTmXdpBXVDHP; Wed, 28 Jan 2026 16:29:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1769617788; bh=AkBNSZsN9haLUZALrG85Bpqhx1SbTjrtFwWDUmDpT6A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DnlvIKsp+JaDr8QaY/x/h2k0ICj/t9uuh5SllKwetId6B9ZeCbKBzFtXoEtIYpK7S Z7tqRWckd4Ra+fxKNgrOjCl8psDcSJjhOoyo4SEvFCZL77dwUxjB62cH2aLCbUgjW4 iDcdWTq+YvEl8aq1Oa+dMxKwnfzze34hl1o/68FHBi8oXIWjJmUD5ATgTZ8S8+mO9p z3d+KyFj58BJXslfZnLfJPGixzbHgOEANeGO/TadmfwbLu/+yLmZMoI/uzouGPiXyR N9tJob4pdJcGXZZ6XuMl/8ICavkgmbYwRvnx3cAKMIggxict93DWqvyV6gaYtcJge2 N+KMq7t2mOSauQgIpn3+rvkI3mQ9xXCqe04eHSdHLjJDRmqIF+lFCHrR95Gx9aL9Ru aqHmT3Okwdm3nPV/GVJ8hm78goY/TKperJ7bwskiIOXRVeW379gHBTo+C9nRKSi7Hy qeBz2lHNbDYBBTHUpEw2T15EVnxOoYAusgMosCeixWcBdQYo1z+Zh8Ag4YoUzJJKR2 dl0yTy+5twsHi6fqfjjR6m0lxvrLW/Uj3ly85YmFkIhDzLmFjYskF7zlwop8/P6U7P tzy8AmuLylkNoUP2KvGClMZgolc4DJhgcns79tZCbtnbbByNiyToI9SFE4TN3rl7sv mF1baVEl4VJ1pwtO5FZV7pAo= Received: from zn.tnic (pd953023b.dip0.t-ipconnect.de [217.83.2.59]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with UTF8SMTPSA id CFBC540E0028; Wed, 28 Jan 2026 16:29:19 +0000 (UTC) Date: Wed, 28 Jan 2026 17:29:13 +0100 From: Borislav Petkov To: Brendan Jackman Cc: Dave Hansen , Andy Lutomirski , Lorenzo Stoakes , "Liam R. Howlett" , Suren Baghdasaryan , Michal Hocko , Johannes Weiner , Zi Yan , Axel Rasmussen , Yuanchu Xie , Roman Gushchin , peterz@infradead.org, dave.hansen@linux.intel.com, mingo@redhat.com, tglx@linutronix.de, akpm@linux-foundation.org, david@redhat.com, derkling@google.com, junaids@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, reijiw@google.com, rientjes@google.com, rppt@kernel.org, vbabka@suse.cz, x86@kernel.org, yosry.ahmed@linux.dev Subject: Re: [PATCH 06/21] mm/page_alloc: add __GFP_SENSITIVE and always set it Message-ID: <20260128162913.GCaXo5Wch-bmKzIZuj@fat_crate.local> References: <20250924-b4-asi-page-alloc-v1-0-2d861768041f@google.com> <20250924-b4-asi-page-alloc-v1-6-2d861768041f@google.com> <20260128153834.GNaXotelMi3QMuvh9-@fat_crate.local> 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=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Jan 28, 2026 at 03:57:07PM +0000, Brendan Jackman wrote: > Yeah, that time has long since passed, I'm sorry about the delay! Nothing to be sorry for. > I'm working on it as we speak. The submission I've been trying to > post for the last few week is to add a __GFP_UNMAPPED flag. That will > unblock the guest_memfd unmapped usecase. > > I got some design elements wrong and had to reimplement some stuff > during January (I had an AI review my code and it pointed out that > part of my pagetable management code was garbage. Spooky). Did it say "garbage"? If so, yeah, you're using the lkml review profile :-P > Now I'm working on integrating the new version with the guest_memfd features > to make sure it's actually fast (it's quite complicated so it had better be > useful). Once that's done I'll hopefully be ready to post.... > > _THEN_ I can update the __GFP_SENSITIVE functionality on top of the > __GFP_UNMAPPED functionality. The former means "don't map into ASI" and the > latter means "don't map at all" so they overlap in terms of allocator > stuff.l Sounds good. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette