From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 4EAAC2EC560 for ; Thu, 5 Mar 2026 06:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772692209; cv=none; b=gcJYBH5lrLtYqKG9GaBMycmeKsjotw3lILkW71h2E7Og2fGwua5++QUO4oVNlGgrFJk4z+pSjAefHHdurctnoqKcHE//nWb51hjZwKFSXxWcHYEKMEDwvmlKFPaH6o0OLn6FVpsUJmVAIU0odZuuHOQV58NeIGHjtdpmQ9+D6+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772692209; c=relaxed/simple; bh=RSYeVVB5gM+WAo2d3lVU4OBg2ZhjPkwL6PcMWE5Z8QE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kyQKgh274fNR9C1hzRNdJo472B8NfV0HsiGYAMGsgwwS6sYMITIyq7jNvNghDdlOjDKuA17ecreTAUF+0hQzH7e1W0tduLArSxQ6BqE88utxmiEJCR95P942lvW9IJVvQvTlm4hKlBQx3qFtwXhGct+MW4aIUJlSx/phCxeReDM= 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=Qlh2SUmX; arc=none smtp.client-ip=209.85.222.182 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="Qlh2SUmX" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-8cb39647a70so736096785a.0 for ; Wed, 04 Mar 2026 22:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1772692207; x=1773297007; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Rc+lawyKza1Txu1nyRU7GMN4VIjut5I8Whyb42/urzU=; b=Qlh2SUmX3TjK+3kt62gUpaa6Syl3n+TI80xjXeZxQscfizvUAwsJEveZs0gCxjKtZr N3vy4eVgp476tFdCBlkD3QnsJ7bkBHU0hYPX+48cKqTRzV7xi/8woaaMfCtifAeK4qIV cz+Bx6fexk1//5qW1TYiwZi7Pwlwjp9FwHW3fSc72IEdLJrpHXzmBvS8et4TnzDQGqPI eTgWd3N3DCRHjuJb53U6xhI1CSQoa1JvUSG/TjlECkQ5PGZ8ebVXMQ7ge7JiWcADoEAv huBqbOYA+LrN3pRWtUZXpihMaBROEikQ3/0x6OB9GJKOtiKaZI9qDxF3MVDG4a2BHBtI o/Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772692207; x=1773297007; h=in-reply-to:content-transfer-encoding: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=Rc+lawyKza1Txu1nyRU7GMN4VIjut5I8Whyb42/urzU=; b=UrjTXaNMOQpZh0r9gLybMWz8KrLq0ZAWRmW0QFazi7Nc186T6uZGl3gAcLXxu5+azq 494eA04zPf3q+aZyj+u4ZbH2/3FCBcPVVleHueNRjGA258Q5AdZdbZtC11ukIpsS+V1S 7nmFMvcC+YDhWHvBuf6Ar/93HTgyerx/L/GU+RV0iBKAFmsuPto0I/PcxfbsDGI3WCpc 7zYRFE02jPphGZmlEpDBIDQLlDxODnRGxWrRQUhsOxXr/Cxb9LV/QbclnEe9PfcX1RYz vL3/7pVdqvQZkAczQFdE6g1eWSSARSnKoHuFUOcqLMoKvlBKMlTNyDm4xyp0/qhmxJZ2 Y/oQ== X-Forwarded-Encrypted: i=1; AJvYcCVS80lTUaNglyDqNnKmAXfxIUMbeOOZyfw6WhUPISz/dlaWxBaeqHSjlIKade2gfN8KY+5a1/6SF8PdWW8=@vger.kernel.org X-Gm-Message-State: AOJu0YyQycp+LDlEnqkryzQeuAmjfqaxzK6505N3paixLHI1m3wfUygK jngUV3Fp87ydqns9C/1yfZqbNWqcjrDpWoIKCj75mBjSkJhf1YsCWrsyMFWgJti8eJ+1gMVkZIM BP2HT X-Gm-Gg: ATEYQzy0/d1TrgLPHcYQ0B+yvkZKRE1eq8NC3+yc35mUWddDN6CxbLSE6ifW8OiEkRM DS1++CBpZcsX11zW7y/ywEUTBvRbC4RHmdCXJehTsVv9QVbANYlR47K5V9rfVTqa1ogPE2xDv9F jn3o1cF956kD91IriKrZYiD6lJo6VdpkLtr5OhK4LA2w1IsL5QbbaHoVew7YD16LqiBunDe9F4w ko0sTJGi2hFc/H6n+EiKZYG6cfl93T9hsQghk7kUkwyr7pPJqBft3vuFbyhB74z/9xWTnZRhrh3 6ZEPPm7XKRhjlHuzhmQRs9xpzR+5HUbmeYU0Hwi4ZU38DtVCPsUSICklk0wa+EWSCcoKnANGqlj 2X2MQTDjiz9axVM9YQMCEfGmbPr6w/8wLosfnqbTdkg2LE1+CjIgpzMoLZ1Ir+edAzUMJYl//7t Dw07Y+Z2lU3rYn0ohF4FOnq+DPC/7iG4NuufuEZPpzpx16xNWcp1dtQTaqcpwNg2BB7pyp78S2Y 4mqdH+uDw== X-Received: by 2002:a05:620a:2681:b0:8c6:a26b:7e92 with SMTP id af79cd13be357-8cd5aec6952mr599870185a.15.1772692207123; Wed, 04 Mar 2026 22:30:07 -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 af79cd13be357-8cbbf652bb6sm1949118285a.4.2026.03.04.22.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 22:30:06 -0800 (PST) Date: Thu, 5 Mar 2026 01:30:04 -0500 From: Gregory Price To: Haifeng Xu Cc: rafael@kernel.org, lenb@kernel.org, dan.j.williams@intel.com, jonathan.cameron@huawei.com, dave@stgolabs.net, dave.jiang@intel.com, alison.schofield@intel.com, vishal.l.verma@intel.com, ira.weiny@intel.com, linux-cxl@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: add a boot parameter to disable parsing CFMWS during NUMA init Message-ID: References: <20260304080647.169434-1-haifeng.xu@shopee.com> <8ad398f6-995a-489b-8ca2-f21afdce47e4@shopee.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8ad398f6-995a-489b-8ca2-f21afdce47e4@shopee.com> On Thu, Mar 05, 2026 at 12:18:05PM +0800, Haifeng Xu wrote: > On 2026/3/5 01:16, Gregory Price wrote: > > On Wed, Mar 04, 2026 at 04:06:47PM +0800, Haifeng Xu wrote: > > Every memcg records shrinker info for each possible node. If we use online node > instead of possible node,then during memory hotplug, we must tarverse all memcgs > and shrinkers to check whether corresponding node has allocated the shrinker_info. > This way introduces more complexity. > Right, but some systems might actually WANT this many nodes, and this does not scale well at all as-is. I also don't think it's as complex as you think, most of the infrastructure is already there. > > If you're not actually using CXL, can't you just disable CXL in the > > BIOS? Then you shouldn't even emit CFMWS at all. > > I have asked our Intel Support Engineer, he saied that cxl can't be disabled > in BIOS. > Huh, this is surprising. If this is the case then see Dan's patch here: https://lore.kernel.org/linux-cxl/1f5074979a58803ec875dd10c9234c7b1a17192d.camel@intel.com/T/#m0d64b723a63ca7faf44311c52c1ebd5f280ae626 That should deal with your issue more cleanly. Otherwise, the problem you're describing here really should really be fixed with either better lock scoping or lazy-allocation. (Already poking at the issue a bit) ~Gregory