Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4037202imm; Mon, 25 Jun 2018 08:41:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJbaCBbiH8KYBAkMDtm6uDTzpNkCrsekJl8H8fA0ou0Wr56OEnZN4/JdOxnGMiQOT/Ivq3n X-Received: by 2002:a17:902:b683:: with SMTP id c3-v6mr13001198pls.158.1529941317892; Mon, 25 Jun 2018 08:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529941317; cv=none; d=google.com; s=arc-20160816; b=yQGSFNjqIaS8XmKk7+/5KB7Sf63uqJ7C5dqOHm+/lihlIi/S+TdnYnfTsl6sf5LWki R88anfA7AheTC716gE/ZH6xhxYiBZkJTQ0PgZ6z5Tn5mUINzt4pmU5i1U89ZBnu5VsJK RtySY5r/bOO3BBrmIfyT1dkUg0hghzMVfPS5HmuscBWu7CgF3K3aO56w7TrkIMgW871x +5mpqQbDRdesgliZBhoipN3hhGmcev6FAsPRAXIJIf1UpazoGCQDmDN9HQp8tiOqtJ60 oUXoPi6BwN/++FlTiV1lsAeWlWSp3szImK+FRjt/PgVmEk/6SQFX1uZXbc0t9iBVdM96 Ct/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=PP+vrk6G8RHfciDDy7dSJT2fs433eIk5ZE+hlzu1MuQ=; b=PtivEzGBKXXc8D8kgo4aJQinpWMw2+7ygSiqntbHC+HubSGvltkBkeFn7NbaxeXbPl 5oBrYfeHgosNGI5W/In4ejX2VwNvUKDdIGf6V5RrjWNxD3H7R2URWhn7+Ej8+jUsNyJm /kBZfSDNJnU4NTc3oFNi1tmNCfy1obzlOjYTc8+ESzVcIRPG+UeTPQTDMZIezqXJdxLd gVvbZV0gos1VcUrl6SGo6F+ZpsMXJ2uEEJEJJ7nq/Wo3tnSQqjF20l5qMzsWpu6YP5LI oM8cZhJ3BKajnGDnywwAQnRx1r5dH4nZWXyZlQhK6FrI3Q8LWbAv+9J8nIhdzv3/uTx2 VE4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89-v6si14295095plc.428.2018.06.25.08.41.43; Mon, 25 Jun 2018 08:41:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752414AbeFYPk7 (ORCPT + 99 others); Mon, 25 Jun 2018 11:40:59 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:46923 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752327AbeFYPk4 (ORCPT ); Mon, 25 Jun 2018 11:40:56 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fXTbY-0002dk-Nz; Mon, 25 Jun 2018 17:40:36 +0200 Date: Mon, 25 Jun 2018 17:40:36 +0200 (CEST) From: Thomas Gleixner To: Andy Lutomirski cc: "Bae, Chang Seok" , "H. Peter Anvin" , Ingo Molnar , Andi Kleen , Dave Hansen , "Metzger, Markus T" , "Ravi V. Shankar" , LKML , Peter Zijlstra Subject: Re: [PATCH v4 7/7] x86/vdso: Move out the CPU number store In-Reply-To: Message-ID: References: <1529536506-26237-1-git-send-email-chang.seok.bae@intel.com> <1529536506-26237-8-git-send-email-chang.seok.bae@intel.com> <80C1F514-1B4D-4CDC-BD46-6C3AA9601446@amacapital.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Jun 2018, Andy Lutomirski wrote: > On Fri, Jun 22, 2018 at 11:02 AM Bae, Chang Seok > wrote: > > > > > Still setup_cpu_number() sucks. > > > > How about setup_cpu_and_node_number()? > > setup_fast_cpu_node_nr()? setup_cpunr_regs()? I don't have any > brilliant ideas. Thomas? It's really hard to find a good one. setup_cpu_node_cache() might work, but it's not brilliant either. Thanks, tglx