From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-186.mta1.migadu.com (out-186.mta1.migadu.com [95.215.58.186]) (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 2DFAA184 for ; Wed, 3 Jun 2026 02:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.186 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780454558; cv=none; b=UH+dxGOlfVLlef9fmQYNmyFnD6PwAyd4zXUvar2rszXKwpTgtRv0msWjQhCn/zJD8zR+/Gi+5oM7SjpJtX7fZzd9LpmqWNMiUkiLdg+nkS6cQqASrGgllgAhr/6acdCI1ghaAEdOKKX3KR97LEZow2kwqYIGunKnC6Y9ZzEtdFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780454558; c=relaxed/simple; bh=uFt3H9eVB4pknImQVyVI+Z5RNzHUL5L6kJW7ohYLnNU=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=KYlyqFtQN0QyBb6ihtQLRQKLzaHehD5qch/uLNFwniX+8hMevUmq3hGGOlT5TgpeMKEnTHFNdeHsdSPfep7CKpJqgGESiPTN81xP/geau/NFKUNREwcPbH13K0rHR4lvpKm3KUG7ncbK9o9XzqMmZ48KLIhshcxrwtgEOe+0ZHc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=TOdvl/0I; arc=none smtp.client-ip=95.215.58.186 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="TOdvl/0I" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1780454555; 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=uFt3H9eVB4pknImQVyVI+Z5RNzHUL5L6kJW7ohYLnNU=; b=TOdvl/0IAihcEOBFeMilBYZiC2N2x4xQF/YenP5BCzSIZivaTf+rJmxh3QgmTsygF3QYy5 6SIhrlIS5fkw4I7fdll+nDCefDuUeBS/cx4xVVbgeCYPAy9MkYxzVNh/R9Xdzok2RWfoJz qtTmVPZGmnAA2ahV5lFuLlLpdRcSoOc= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: [PATCH v3 18/19] mm/hugetlb: Remove unused bootmem cma field X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <178041489401.457517.7510742037477989122.b4-review@b4> Date: Wed, 3 Jun 2026 10:41:44 +0800 Cc: Muchun Song , Oscar Salvador , David Hildenbrand , Andrew Morton , Madhavan Srinivasan , Michael Ellerman , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Nicholas Piggin , "Christophe Leroy (CS GROUP)" , "Ritesh Harjani (IBM)" , "Aneesh Kumar K.V" , linuxppc-dev@lists.ozlabs.org Content-Transfer-Encoding: quoted-printable Message-Id: <101DD3F6-934E-4BFA-9FE7-361BBBD2080F@linux.dev> References: <20260602101039.1867613-1-songmuchun@bytedance.com> <20260602101039.1867613-19-songmuchun@bytedance.com> <178041489401.457517.7510742037477989122.b4-review@b4> To: Mike Rapoport X-Migadu-Flow: FLOW_OUT > On Jun 2, 2026, at 23:41, Mike Rapoport wrote: >=20 > On Tue, 02 Jun 2026 18:10:38 +0800, Muchun Song = wrote: >> struct huge_bootmem_page no longer needs to keep the CMA pointer. The >> bootmem path only needs to remember whether a huge page came from = CMA, >> which is already encoded in the flags field. >>=20 >> Set HUGE_BOOTMEM_CMA when the page is allocated and drop the unused = cma >> field together with the redundant assignments. >=20 > It looks like the commit does more refactoring, please mention it in = the > changelog. Will do. Thanks.=