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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 E4B9AD46C01 for ; Thu, 29 Jan 2026 02:52:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id:Cc:Date: In-Reply-To:From:Subject:Mime-Version:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G/7yHcCb33DdMvPG3VDGAOU9MOwINfOSZof3oacYv5Q=; b=hQyCYNoYtGC8a6 LyL2RMu2uMM5Wm0QqREdSsjCTfH12JPbRZIBC6RLVkoIk7r2QFdmvhA8YQ4+J9KZYjV6hwWf+Llj7 0LemY8cfsphFiSmGqbkOp6LfCj46RWHuLkI0H5cVHb9L44t1u3kvVRiJvdhEIeil2cdrQgm/eBJIM MHdjSg9QzI8nxe5pVAYpSQV2I1y4seNIQ6Enmare6opsQf7s2PWYfPlV2UhtXIopnwe3wvqpoDGfR 7dmqa/LHZ0FDs/kuSBTjmcV6hmCaD/kadYUy7dGQLXtH0QJ5osJu7/azzqkMlUMxrRdkmpyvXPbU0 ASuXsHENEjPX0njdcv6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vlI9C-0000000H9xh-2UuQ; Thu, 29 Jan 2026 02:52:42 +0000 Received: from out-180.mta1.migadu.com ([95.215.58.180]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vlI99-0000000H9xN-2CvQ for linux-riscv@lists.infradead.org; Thu, 29 Jan 2026 02:52:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1769655155; h=from:from: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zUUCdyLNfxqZr/JB01jIM2hS9AGiun290KshO5xiDNo=; b=Zsd8oPGyu5Uk7qrMcCaR8as8UdOPm0CloBX4g8v2jaMMG87yYzKAcVcuJedg4e4kWo99Sa NPGVL+lCQu5BYDf4/XNR/VoyJqvKO5RNqOfvzWLYF1jd7rZlr/qOld56WiPELa5NB9KUBH hkDYJGOnOocrlW7Cn5jC7PQp16cezk4= Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.7\)) Subject: Re: [PATCHv5 10/17] mm/hugetlb: Refactor code around vmemmap_walk X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20260128135500.22121-11-kas@kernel.org> Date: Thu, 29 Jan 2026 10:51:48 +0800 Cc: Andrew Morton , David Hildenbrand , Matthew Wilcox , Usama Arif , Frank van der Linden , Oscar Salvador , Mike Rapoport , Vlastimil Babka , Lorenzo Stoakes , Zi Yan , Baoquan He , Michal Hocko , Johannes Weiner , Jonathan Corbet , Huacai Chen , WANG Xuerui , Palmer Dabbelt , Paul Walmsley , Albert Ou , Alexandre Ghiti , kernel-team@meta.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, loongarch@lists.linux.dev, linux-riscv@lists.infradead.org Message-Id: <1E5F65B7-59C0-463D-95EA-808520C14B85@linux.dev> References: <20260128135500.22121-1-kas@kernel.org> <20260128135500.22121-11-kas@kernel.org> To: Kiryl Shutsemau X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260128_185239_740095_B5A57A4E X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org > On Jan 28, 2026, at 21:54, Kiryl Shutsemau wrote: > > To prepare for removing fake head pages, the vmemmap_walk code is being > reworked. > > The reuse_page and reuse_addr variables are being eliminated. There will > no longer be an expectation regarding the reuse address in relation to > the operated range. Instead, the caller will provide head and tail > vmemmap pages. > > Currently, vmemmap_head and vmemmap_tail are set to the same page, but > this will change in the future. > > The only functional change is that __hugetlb_vmemmap_optimize_folio() > will abandon optimization if memory allocation fails. > > Signed-off-by: Kiryl Shutsemau Reviewed-by: Muchun Song Thanks. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv