From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 65EDE3537C2 for ; Wed, 4 Mar 2026 22:33:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772663611; cv=none; b=mU9/SQ9T8b042SacZ+qarJPpZYlRsohxN21oGi0cgRwnU7T6+634IPkpn6e7uE4P3TXGJg9dqKI2lRsMwfKsejvJOeOZaN7PkvzAKJ1vLkDoF300LCfyBumtCne3yfcw+rzwm9jow/P/CXquY+twOlZydkoy4c96YXKl/uJxkcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772663611; c=relaxed/simple; bh=prulmfQJPM5sB8UVZonMzpxbfN/QSE7fFKzD055GD44=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ueg0zQKRfyQpe8eZxDDjTFr9M4XPjz+7jQKuSbIlmpX8ICMi6kICtT+euWESe6DE/yXtgHnGNB+nNPg3gV3RDF5SQp28kASYOYfykqz3HwI2kqlKKCP9/dY8DKxeD2NJkO5JFki3l2mXCJkElW1M8LghUWZ5MTA+sCvSatQcnSk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=Jb1PorJb; arc=none smtp.client-ip=209.85.219.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="Jb1PorJb" Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-899efe93d4eso51498406d6.2 for ; Wed, 04 Mar 2026 14:33:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1772663609; x=1773268409; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=yqt1lwHlXdfsdp5rB//PPPVMKmDVYi0PoyC8O+e52Kk=; b=Jb1PorJbTBNCm8VlzIUw4A4KTVk17CZUCIKxuLnbGm+tlNTFFJth76/A/PrKAgYrQ7 YKhyiAgpt2PYEgmIk8L+XbdlgKVQ10AvZ2UzmlIF6IGbnJOZs2m7khHu6HebB+Smqm5/ nmPeJPXKNkVvDmym976BthXIOkW1iKmXczh4uLlOAQPKEAczrzdtcN9tv1IwCCA9IVGk WBr4wfu50+ZcY2nUkGAyQwNjf1vauNV4SdPUJrt5aq5w0cFtTDnPpHvGS5ef4XsNmu+A oSagnZXTqG6U2X23xrwGoDQ9X7X5ygtPGm2wDaPzmVYME3Yrwv1rLSAH4Vznl6xTRugJ 3Prw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772663609; x=1773268409; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yqt1lwHlXdfsdp5rB//PPPVMKmDVYi0PoyC8O+e52Kk=; b=wVg2s3ernbumn6OuZzxpj6rqYXgOXS9ZdpVnGBLb9s2IpQkp1SZxunxamE7mJN/AdH G3NuX7Vtf6HCaPoNcXea+kxE4L7F8pHRVONyEo+H5tWufukDMXpseRi4L4j/XH7zqfvP W76B1/wzXmFX/VK3Cm5hIZVrDKaYAoOWV4z4mJkDVelifXGtRroZMkPgB8qIF2hF/q1j xHKLQied4xgYkW3miRZI5QxuwJw5HnvdWu2phagtRXmWeVRU3TnArhqKtAVYqeBuPpcQ 7J50IHWFvl8GRRDAA9sQTuKbgUdWLdCC4wf4UhgIG38ofnGrv6yxUxhS5W5NUGqphlMc +4Qw== X-Forwarded-Encrypted: i=1; AJvYcCVm8tWPaeBUuSpn+bgJ5QqzOE2pLn8n7qxAho93r+Pq4LtqLUjhVm4maJY0IyuN9j+ULyZfL8f23Xc8wiQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzstzBdWRiI638GxipREv6Qez/1SfnVpcNF6jv3ozY3WYX1pnW9 uJDv2TgWjKfPt9dnulwk/iekSTbXMBLJtvrcLBv/hERtORiJmtJBf6n8u+dHGnL8JtY= X-Gm-Gg: ATEYQzxKslRM11Egylks1RL5vcncPVJP383yt7GLW9+6sDNuX+3EgxL5PijyiWlqJU3 0w3jkVYU7B9F9+PnnkV9c1A8+3dkovh9TTPWAsnUaISGET7hfXwBzvYhbXa+B9n+fPyOnsqr4WI Y1R6pCG7JeblMH/swL5k0nQ9wgagVBpwEiA/nHL5pch2a1EYQhdisSMV7EnTKvHS5mVJ2jVs4+L BHNyGSt7g4f5mz0vnhMqvrSSJR3okwBLojpXeBdxPErUOJGTVMSvv9GqZYSp+1AC089cNi9CrA5 3ho66rpHQIu3BT2TyFsyajQgnWkcdEN99Mmj1OSdxzS1zvzkE70OiokLvtLpzt47p1NQ4rm+8PA xatf/1NcllOVFTf1FVg2NzZc9XFUDRPI7kziqqeQpzc9XnpExev05mMl/jkQVPPg/XO6zLCPcSq YT7Ijlctjiot0irvaHSPJUK7kBwv88hz0SdW/Dyj5mrxZ4JYLk7rLIacaMEeZfflhMkhn3+cq7g n2mSzqsCAyG3rAAywOe X-Received: by 2002:ad4:5946:0:b0:89a:9b1:a225 with SMTP id 6a1803df08f44-89a199852b9mr56252546d6.12.1772663609341; Wed, 04 Mar 2026 14:33:29 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-5074481c0e5sm183664431cf.0.2026.03.04.14.33.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 14:33:28 -0800 (PST) Date: Wed, 4 Mar 2026 17:33:26 -0500 From: Gregory Price To: Kai Huang Cc: rafael@kernel.org, lenb@kernel.org, dan.j.williams@intel.com, alison.schofield@intel.com, akpm@linux-foundation.org, nunodasneves@linux.microsoft.com, xueshuai@linux.alibaba.com, thorsten.blum@linux.dev, wangyuquan1236@phytium.com.cn, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: NUMA: Only parse CFMWS at boot when CXL_ACPI is on Message-ID: References: <20260304213342.5776-1-kai.huang@intel.com> 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-Disposition: inline In-Reply-To: <20260304213342.5776-1-kai.huang@intel.com> On Thu, Mar 05, 2026 at 10:33:42AM +1300, Kai Huang wrote: > Increasing the 'nr_node_ids' has side effects. For instance, it is > widely used by the kernel for "highest possible NUMA node" based memory > allocations. It also impacts userspace ABIs, e.g., some NUMA memory > related system calls such as 'get_mempolicy' which requires 'maxnode' > not being smaller than the 'nr_node_ids'. > Is this a Linux issue or a Firmware issue? Is GNR exporting more CFMWS than it should? Is your SRAT missing entries for CFMWS that are otherwise present? Are the CFMWS empty? (is that even valid) > E.g., on the aforementioned GNR platform, the "Slab" in /proc/meminfo is > reduced with this change (when CXL_ACPI is off): > > w/ this change w/o > > Slab 900488 kB 923660 kB > This is a good effect, but I still question the premise. We don't usually want #ifdef's inside of .c files if we can avoid it. ~Gregory