Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp440755lqt; Thu, 6 Jun 2024 08:03:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzQ7iXTsZ132965oPIzKv5tXQYn4CmB3DsATQC7POTKxsEu5chAX/tg2IO891ZbGofRL1EigesKqlT/W2SexYR5Csk3/oCFqlKWDXkyQ== X-Google-Smtp-Source: AGHT+IGLdCjRVqRDfJ3bqxOELf+kGMcnLdtAEgyCHwgKPN4UfBV7wtII2rSe/aPJFNKFjcPnWAoT X-Received: by 2002:a50:f683:0:b0:574:eb26:74a with SMTP id 4fb4d7f45d1cf-57a8b6d6c55mr3594620a12.21.1717686209762; Thu, 06 Jun 2024 08:03:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717686209; cv=pass; d=google.com; s=arc-20160816; b=qSs3eSkkjxl1UXwJGY3XS4Zl1Un9oc06zYJgPL2xtDz8Y8Pq7u6gULKyvtHqJqusCs zGruIF614OTdq6qe0EoM10rAKMlxP56m39xRoz9ViYXR53ObUtGwEwYafjmyZNT8FODE N6otV7a6n3qTBKv4zFw5J7nfiD3Giz7XZpZUewHDgBuh3RWR0TJxTUOalaL8uOix2DAM bLlD6KRyodpbnqoTkh9V3/zug7WHGG9sBX96TAFQ/M+0lVYwmH2q323DABpQtMLHjh1d OkEf7WIJYvVqOmcFvFhhNAZWkXpUUb3YKpjcwsKEZwDk4rLEcvB3VY4P5xySnX7vysSr UqTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RI6T+bcL1QMgMuH4k8JuHjGWxNO5oV8x/FpxvxQ9aO0=; fh=F/U05qBSyYgJO4Pa41YKQ7FJC8/JiETTCSXB2YSxuwI=; b=NS+GFm7Dy9KQs6IGCJ1N8sAHX172r7zqcUhmuF7k/+1ssfVI/KrFc5LW/VWAwicYFH IGg6D9v3kCB5ycBOogxJdrS/aIyM3lef49aPYd3o0XDv7CRvkjkMsbNySxrLWDOm5owc MnOoVfFA1/32NytjiTXKaCXSogb71/K0g0qF1L2zX191AjUlpcMu74xG1nXBn5ftgm63 oqRCmeCKsxqjPgzGviQkXBB3CGW4KavbZQc3q4pcELOyI6SeMZpYH627+ABT9Jw9CRrx gORRrPTjdMTk/3/JU9DjW2H3hpzKjrCWlQG11hAxAEkxJCoBTIbxSA0F8e8V5dbYJQ60 3p8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BGVaVkyf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57aae26162csi744493a12.528.2024.06.06.08.03.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 08:03:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BGVaVkyf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-204499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5032C1F22D0B for ; Thu, 6 Jun 2024 15:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A03319E7ED; Thu, 6 Jun 2024 14:39:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BGVaVkyf" 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 7E2F219E7DC for ; Thu, 6 Jun 2024 14:39:49 +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=1717684789; cv=none; b=QuL/fGdjyIEJded/EeDdek2L/dVCHGBdYKeqiIopMGvgX+cNmcl/ork9xeVAffXFECmO3Sqwmw3jt76+CSni7SWjNVPGHCjF0isqXZgGDcIy1PP4NKIX9CBxq3ROxPsCeYggMDTmnWKUXAFIfEL4bv51GKUgJwV4/NGSiHV54Qs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717684789; c=relaxed/simple; bh=h7zjIQkZZTzWaJBKoOJsIZ+rDuw+R7H+L3cDkG6DR2c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E/eWSHAPnlFND555+XBla6wA5890ejK0Q1ZaysgPMcUv+sgXq2uWMnGlmRtTO8KHTNC1GwSRgRWfrSZZgxB/i8fbNeX2YZXc/jPeKbxEregYmQ50Ah18OMDmHWY/K+s+/y33lt2dSNct8maO5KhphXoReqG2sEwl8Cpg/uH9Wf4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BGVaVkyf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79206C2BD10; Thu, 6 Jun 2024 14:39:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717684789; bh=h7zjIQkZZTzWaJBKoOJsIZ+rDuw+R7H+L3cDkG6DR2c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BGVaVkyf5/nh+sUMeJbg1le2pWIskJPBQor0Ur9hVRT7r7RNMYSoamsKBOUBt3edf XGhXpu0TVRBqZgw8Pf+DsB/szpaZoLRcjOPl1JyOApwkO7vp0lWcuvL+msNfYHEkBJ YsjTNhrSIMuhUYYiZctJT/oEKcxR1/KKblBZHMB2k3XFbXbKb+Cd7s/gMOFHQ/yACT +mfoU5nqBt1mom+0nDn27nOdEb53xdkvs8/+RR/kRq9o36GHORnQsVpYM1D9KMhBOs DVkIYuPlON5MNW5coXBxRpYs9c0NSgwDNZX/a6NLCpdR/QbY8EF/cTK1XQNJSjo3FP 8LkDV2NrezsTQ== Date: Thu, 6 Jun 2024 17:37:49 +0300 From: Mike Rapoport To: Borislav Petkov , Jan Beulich Cc: LKML , "Borislav Petkov (AMD)" , Narasimhan V Subject: Re: [PATCH] x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node() Message-ID: References: <20240603141005.23261-1-bp@kernel.org> <171750701353.925406.16431237983148253122.b4-ty@kernel.org> 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: <171750701353.925406.16431237983148253122.b4-ty@kernel.org> On Tue, Jun 04, 2024 at 04:16:57PM +0300, Mike Rapoport wrote: > On Mon, 03 Jun 2024 16:10:05 +0200, Borislav Petkov wrote: > > memblock_set_node() warns about using MAX_NUMNODES, see > > > > e0eec24e2e19 ("memblock: make memblock_set_node() also warn about use of MAX_NUMNODES") > > > > for details. > > > > > > [...] > > Applied to fixes branch of memblock.git tree, thanks! > > [1/1] x86/mm/numa: Use NUMA_NO_NODE when calling memblock_set_node() > commit: c55f3cc2d9f241d6e45336fd48dafa755c012297 > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock > branch: fixes There was a similar, but better fix from Jan Beulich: https://lore.kernel.org/lkml/abadb736-a239-49e4-ab42-ace7acdd4278@suse.com/ that also updated numa_clear_kernel_node_hotplug(). I'm going to replace this patch with his and use Boris' changelog as more appropriate. > -- > Sincerely yours, > Mike. > -- Sincerely yours, Mike.