From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 82C6F606A320 for ; Tue, 1 Dec 2026 10:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=lqwZFK0i; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Pl5vbPk/ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=dZxqesNEMV7e0p8e4urkWf5fmYPn567HRDBnv/Cmikw=; b=lqwZFK0iwMOtIytbXFb6yewc+A CcRikjPVhG3RFKyqjKqnwFDSFqSaA8Ql55k8H5JHv+5f/bGvK8CH6Wwpwcw73BGUiHJxOmz/Y/21i cOfPdUuteB3OWMPeNRumOjvNxwWdn0SZNV8hw237EjpEiZaUcKFAx8qw+7IqaTvhmLJA1hC9RGX/4 KDGSma4+137MF1Uw1FPEk3CB1eGEFro/rfr6Aioxezdpshr0muvbYWHB4gFUrl3WxYYXXn33kwRSS kYuS3d5O5T+kZ9SXOW9Sw2JaGEbJwHlUGgwWs2IsEjOMrLrabaNi9V+yYofcbh5g4TB1wPiRLmXRj +wNcLDtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYKha-00000007IB0-1KVw; Tue, 01 Dec 2026 10:03:11 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYKhZ-00000007IAn-0HCE for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 10:03:09 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 22631623E4; Tue, 1 Dec 2026 10:03:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85CF71F00898; Tue, 1 Dec 2026 10:03:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796119387; bh=dZxqesNEMV7e0p8e4urkWf5fmYPn567HRDBnv/Cmikw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Pl5vbPk/uDjAhcn+0+TJd0ErW2UkL0+46/nhgTWqojgGGP0t8BHCalaHZ4ATg8wqn 4eW2zzH9hGkkVNAtmqys/Z5OXtI06N1Q1/d6f+cDshyGMQ/qsT9Umj25DOfPJ+etUV OrAW4IjReEd+W1i9NlecIyOh3oHFqPo4dUbUnc5mY480/XZX4YdH9ynIAWZaPLssdy zcUIeU4wNRSzhPvCnjIgaLjWhNksec156l4kNFMZtmM+cKcgheG85n0+03wdgTXwu7 G2lF9Q9+CVjgpvxjsdpymw6xTUjOL5iQTHRSqg6o7z73tuoCX68a18/jk0AkyDbOS4 ziU4cRiT9Va0Q== Date: Tue, 1 Dec 2026 12:02:59 +0200 From: Mike Rapoport To: Adrian =?utf-8?Q?Barna=C5=9B?= Cc: linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, Catalin Marinas , Will Deacon , David Hildenbrand , Ard Biesheuvel , Christoph Lameter , Yang Shi , Brendan Jackman , Ryan Roberts Subject: Re: [RFC PATCH 6/6] arm64: mm: support PMD page coalescing in the linear map Message-ID: References: <20260611130144.1385343-1-abarnas@google.com> <20260611130144.1385343-7-abarnas@google.com> <799181c3-a1a1-4de7-bc6a-576d3282efb0@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-5.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 Fri, Nov 27, 2026 at 07:45:59AM +0000, Adrian Barnaƛ wrote: > On Thu, Nov 26, 2026 at 01:42:32PM +0200, Mike Rapoport wrote: > > > > > > I was wondering if it would be acceptable to create a try_collapse operation > > > in set_memory api that would tell the arch code "I will probably not touch > > > this anymore for a while, you can collapse if you want". And call it after > > > predifined delay from last execmem_cache_restore_rox call. > > > > What do you mean by "last execmem_restore_rox"? > > How execmem would now that an execmem_restore_rox() is the last one? > > > > That was a bit of a shorthand on my part. What I actually meant was > scheduling a delayed work and select a reasonable delay that will > oportunisticaly trigger after batch module load. Thanks for the clarification. Yeah, adding a "collapse" API to set_memory family is something to consider along with the other options I suggested in my previous reply. > Thanks, > Adrian. -- Sincerely yours, Mike.