Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp591870lqp; Wed, 12 Jun 2024 10:09:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2Ic7wabQImshTENcLwc5lC7x28y3SR6pw9eSQbQSM3pnkIuLFQ9MT7dkye6HcnKYgFjPlWU1s/H+rddWwkHM3eNDSiC1wcniLYKUGnQ== X-Google-Smtp-Source: AGHT+IFaSFJqoSEtBe8Xj2gtDoooasQ0e1xs1udVJINuUhYSZ0AkkEjPDH8Lf4AdGECw294opXJh X-Received: by 2002:a50:c191:0:b0:57c:7119:a9cc with SMTP id 4fb4d7f45d1cf-57caaacc33fmr1565086a12.25.1718212177829; Wed, 12 Jun 2024 10:09:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718212177; cv=pass; d=google.com; s=arc-20160816; b=EK34SBzqLEih94seRUkkmXcnjQqhJrtUjnEFnzWG3UPuh/CRnbQb4yMYSpEZozP4Dy 4KfU5ZUd3k46abyKdN5fz1b+esDOo5dFw/Xbp4yoryiRtisEoUxHsGtFrojUjgCfHv6y Yq2Cfsov0kKsCLjC1TDcs60sJHIhftA6HegCxhYeiG+17Pkhx9OQzFV8wFX/fck4SaVT KeN8gBNpUPntmkd1S7EcGRURHzJOorHVI9eIBGiV+bXwsKY5n8kMT3rudzIeSkASe/nV gq4/TGfqKrMkqyMpmI4R2MEzzWC6sd61yBIYejbGT9qJksIfK99PofHvZDEIz1nBjopo BjkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=Ny3+H2NaT89QR1O/tIA3QbH+/1GiUoADvDQIMw+gVNQ=; fh=pdb90C2lRfUTdwZp2acsDjMKL0wu8a4AYWAMrJ4Dklo=; b=HLiaU71Fa+Q8qzr6/LVvQttZwrwU1wp3WKYQHqiU0EMp+Fai7CBzyBVEjdH5T8/592 OPrbKl1cLrOTv/dlfJ7Tpo5UIE1dko+IGLA4glc4JMbMfCXQKmEkdEoiFeFoHZhXAFis 4H60u4wLk2U+Iapfen6x0NH/tGTfl+F//BgMUpaNzAhlyr2RrX6KpFOKLB5jF6z/sfZ/ Wlq7ifafM36/gEK6FhEsDLxZfJaptN2aGavzkFBdxQtsV7VKpCiJFpa12Lm5Yimu/6oa O36p0bAkZax3uFPZcwti54CM7xgwPdl5rTvZeNRXHooK93eIFIYuJIXxKKwKISJAV+Mq +nLA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gentwo.org header.s=default header.b=lcQdRquv; arc=pass (i=1 spf=pass spfdomain=gentwo.org dkim=pass dkdomain=gentwo.org dmarc=pass fromdomain=gentwo.org); spf=pass (google.com: domain of linux-kernel+bounces-211979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gentwo.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-57aae1fa9easi7077231a12.321.2024.06.12.10.09.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 10:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211979-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=@gentwo.org header.s=default header.b=lcQdRquv; arc=pass (i=1 spf=pass spfdomain=gentwo.org dkim=pass dkdomain=gentwo.org dmarc=pass fromdomain=gentwo.org); spf=pass (google.com: domain of linux-kernel+bounces-211979-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211979-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gentwo.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 8492D1F2359E for ; Wed, 12 Jun 2024 17:09:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89A1C183090; Wed, 12 Jun 2024 17:07:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gentwo.org header.i=@gentwo.org header.b="lcQdRquv" Received: from gentwo.org (gentwo.org [62.72.0.81]) (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 2635B28DB3; Wed, 12 Jun 2024 17:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=62.72.0.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718212066; cv=none; b=A7BiQBrqmG0GhcFtuy7lqROZCys1/aOiPLnaBcTDgdh0JXNnitnAow7LUN5u8sibPs+OFAIOZi/9lOvnxVxRR5qeFuWPcyPD/KZX/sMwesMY4Q4FE16s7w6jO8WYpCLH70bql0J/v7/uPBZ8Crge70ApsAL+9WxdMlt25vVDnwY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718212066; c=relaxed/simple; bh=xsj24dHhKoMLJ7CzV3x/NjfHEv7T3k5WjG1vf1Kod+U=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=GIwJvhtftBkgX05eRGS7gz9L9k3/BeRPRWXzrOi8fLDB5QzM13Zp9HJuIKBXDfiXbih0q0DLzJOkACFgXQii3kpKqOJmbD0cEy88IFaYziOAArwj6Uy1yxB38pvNCA6RL7KgZnX1VxNL9tLsXeI2PP92jOnY4/Cb+CN7WdpwrPI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gentwo.org; spf=pass smtp.mailfrom=gentwo.org; dkim=pass (1024-bit key) header.d=gentwo.org header.i=@gentwo.org header.b=lcQdRquv; arc=none smtp.client-ip=62.72.0.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gentwo.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gentwo.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gentwo.org; s=default; t=1718212064; bh=xsj24dHhKoMLJ7CzV3x/NjfHEv7T3k5WjG1vf1Kod+U=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=lcQdRquv/VYTh7djrfsx3XHM9g3Q1riiDTNzxQvdc64gRHzWWR1VbnkIsFXv0/CeW maKz1jRS77F8dMoqTWf8BjkCuCaGcBU3ZOoZyvxE+pNlZ56ZnKP/k18tx9hmh6wZiQ Vr73nyGYFVk9u39Pko5AQhBRUNAt7BHrD1wzllb0= Received: by gentwo.org (Postfix, from userid 1003) id 087F040A8F; Wed, 12 Jun 2024 10:07:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 06FBF40A8C; Wed, 12 Jun 2024 10:07:44 -0700 (PDT) Date: Wed, 12 Jun 2024 10:07:44 -0700 (PDT) From: "Christoph Lameter (Ampere)" To: Peter Zijlstra cc: Thomas Gleixner , axboe@kernel.dk, linux-kernel@vger.kernel.org, mingo@redhat.com, dvhart@infradead.org, dave@stgolabs.net, andrealmeid@igalia.com, Andrew Morton , urezki@gmail.com, hch@infradead.org, lstoakes@gmail.com, Arnd Bergmann , linux-api@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, malteskarupke@web.de Subject: Re: [PATCH v1 11/14] futex: Implement FUTEX2_NUMA In-Reply-To: <20230731180320.GR29590@hirez.programming.kicks-ass.net> Message-ID: <2eb23678-e1c7-816d-4807-f324c771e6ed@gentwo.org> References: <20230721102237.268073801@infradead.org> <20230721105744.434742902@infradead.org> <87pm48m19m.ffs@tglx> <20230731180320.GR29590@hirez.programming.kicks-ass.net> 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; format=flowed On Mon, 31 Jul 2023, Peter Zijlstra wrote: >> Is nr_node_ids guaranteed to be stable after init? It's marked >> __read_mostly, but not __ro_after_init. > > AFAICT it is only ever written to in setup_nr_node_ids() and that is all > __init code. So I'm thinking this could/should indeed be > __ro_after_init. Esp. so since it is an exported variable. > > Mike? Its stable and lots of other components depend on it like f.e. the size of cpumasks.