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 C1D68322527 for ; Fri, 27 Mar 2026 18:37:59 +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=1774636679; cv=none; b=YYLdIUwq1d6iTZhMsyj7SxMwDF+WDZzTFCGCfEeMhoUylul9f20gq074QreaEyPg39iTBq6LhPwkHlFKye7rGitHXUeSwdgLLnY41R4/2/3HtBFKWNKJwwDgXuNs9ZMx2thZFOjHtzt9DO9vvK+DxghM1zU/zpSxrTObo07358Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774636679; c=relaxed/simple; bh=A9hPu3Yx5XNH6deOat93hvhGdMaoUB1VLQxEAPMexbg=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=UbVquWMvnESPNlCvefD2xT5pNPqq/8LcYCj2prh/knbRmBRN4uqM7uO9Ui+G6vWnfQ9fcmABlCCq1UPBxnkKP1J2jPy3M61W9+EAz9aImL6C+ftDk+zji3h9Z8LJenGnLhdPueDWKi5Ii65MfPISj2m4Ewz7k3uJhmx7oylor0M= 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=ytes+29J; 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="ytes+29J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FD6FC19423; Fri, 27 Mar 2026 18:37:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1774636679; bh=A9hPu3Yx5XNH6deOat93hvhGdMaoUB1VLQxEAPMexbg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ytes+29J+RSGnxenqkoI0Zz75a2dl4rJoUO2e+5d65dHfD+kwg2nbcpWa84K+CshF IzC3nAL5czIB4hdIn2KV9oMrUk4YrTbDrC7+OVgdG+UfY7RmLN7NWUsFhSsiHNNAt3 Vc38CNkl3N2w6oP5ww4zF2VM1MKJ6SEFWNZ6at6Y= Date: Fri, 27 Mar 2026 11:37:58 -0700 From: Andrew Morton To: shivamkalra98@zohomail.in Cc: Shivam Kalra via B4 Relay , Uladzislau Rezki , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Alice Ryhl , Danilo Krummrich Subject: Re: [PATCH v8 0/6] mm/vmalloc: free unused pages on vrealloc() shrink Message-Id: <20260327113758.75f04588310a707b4d4b1aac@linux-foundation.org> In-Reply-To: <20260327-vmalloc-shrink-v8-0-cc6b57059ed7@zohomail.in> References: <20260327-vmalloc-shrink-v8-0-cc6b57059ed7@zohomail.in> 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 Fri, 27 Mar 2026 15:18:36 +0530 Shivam Kalra via B4 Relay wrote: > This series implements the TODO in vrealloc() to unmap and free unused > pages when shrinking across a page boundary. Thanks. I'd prefer to defer this until the next -rc cycle (https://lkml.kernel.org/r/20260323202941.08ddf2b0411501cae801ab4c@linux-foundation.org). If Ulad would prefer that we push ahead then OK. Are we able to describe how much memory this change might save under various scenarios? If the savings are impressively large then that would get attention. AI review might have found a couple of things, one pre-existing: https://sashiko.dev/#/patchset/20260327-vmalloc-shrink-v8-0-cc6b57059ed7@zohomail.in