Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1034147imm; Fri, 22 Jun 2018 09:13:04 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK+UZEWCr1aeMuEDTKTVfZIH/nQYKzaRXOiMGD0n36HouUt1dVVmTfCBRg/HadM5+KgyrpE X-Received: by 2002:a17:902:7e08:: with SMTP id b8-v6mr2353458plm.230.1529683984356; Fri, 22 Jun 2018 09:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529683984; cv=none; d=google.com; s=arc-20160816; b=GfF9zIfCIvqCRgQsCfo8LTPsNf2SmheuWWlMuxWsx4lInp9Xm7hI48UsHDQgStic1M qFZs6EaksrCV0WUqxRtLXD7KFxh0ws4SxlVHgu1pC+tDnzbXzW3pY69nMCLmpfJSKQAa U30IlSkaz8Ik2x/T6UACdy6wKZGGEA1oqSyy7LL4lsWeRQGoB0RhwV8AkTL8VCZpvcgU 3kQMNrcSJ3N0/ZG7ya5vshRC8Nk4G2se2fdoiVBWgleXldzQ5pE8R/2qtdpEHTnkFjoz ju2VPXyKRvHcXNUO4kvFHYp++D3YI7wPTCwiFHX90siYSHRC3/vA4OL9qsDaRE5I4siu raFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=YM+46ucOheg72dPwAbaFVyWZdaRIS1pmxjCf3rce6Mo=; b=S/FuwidVKmmLXvcqp3IjQ9yB1DBf7Hp+rvTAKusWl0GwiKWOCUMIrVCIB9YX937iPf P2ZbMOYC+7w7uOTMo7BYFeAMG0bzLBFCeLbICFR/DdwwWMYlM9q2rHXeLodeyE5V21p3 bkYB2d4bXdM//9AOV/3E5o2lh6zAOffy6aqZT9VOcjzMWemWUFsz3bsLEwy8jcXS+c1d +FohUv6SXBaAJfMzlDybwq2Wrgjnf38Z72On0BrSEG0TtnrwYe2w+cmjGukvGIOZo7xc otNS4MZ1V16dgpRE+f9Aq3XWMgeLMQyYQEXHn2beSqsBFJAnGTX8kZPNgHBy1AiygFG6 bn4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=nBfT0f5H; 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 d32-v6si7617518pla.329.2018.06.22.09.12.26; Fri, 22 Jun 2018 09:13:04 -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; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=nBfT0f5H; 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 S934164AbeFVQLr (ORCPT + 99 others); Fri, 22 Jun 2018 12:11:47 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:33046 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbeFVQLq (ORCPT ); Fri, 22 Jun 2018 12:11:46 -0400 Received: by mail-pl0-f68.google.com with SMTP id 6-v6so3719011plb.0 for ; Fri, 22 Jun 2018 09:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YM+46ucOheg72dPwAbaFVyWZdaRIS1pmxjCf3rce6Mo=; b=nBfT0f5HfeIQziYT13pH3xUKGwcdZbavBZmcl3cVGc0Hjr74+4duEwcVGgTSPOvgNB BKtbOPTa/GtjsKXRq4ITZCVgtNSTmpcxyghMYFZVGEjDmooAdfTjnrhwl6TTQ6tU4I3H X0EA7sjjfFyZ74rNDHdmy9Px/Z0+XGram/5hosT6+6dPBQ4l4X1sStntXZJDYeIZIBP1 y2GhdZIywNyagYruGrmgRwbvdX7MNPC22ky+TCCyyE/6JvSKBOUFbAbrD6ywBeRmljPN sLo/JDg4L2xxct8/tfRIpEb0vt9HgIhpqg36y2AnyK4JBOYrz5oglBzToCThsaws8236 NMew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=YM+46ucOheg72dPwAbaFVyWZdaRIS1pmxjCf3rce6Mo=; b=bLRLRy7xOOOZLZ9LNRD5v3gjVXhkzmtZ9JAPBrAKGwhk2YUZ3T0LlEmfCe5CT9cZ0C ivlvUqcmmVF+hgyksrWZGwVQxCpwzaRXxsdQh9lJUHl+6eMLfB60G1v0AWH8lEAAAchM OilYrpp1sda6804Y+RpJ3rcGNJ71mG9a3ZbzcqZhJs7+uoZKUaWMqxsasS68TIpS/VG8 Xr36qosK02x9hKYbUZka/7AQj+qffnOJHfXj/I+XqynHmJ0+BF4WJJBAppTD62X82lSE piDmfDHO0Ha+a1iTBPorQw976AFKtreKX56HN6AO4SknqEyx9tWqU2yjg9sTtL/SGa13 LSrg== X-Gm-Message-State: APt69E3HmNitr4neBdpSD+w9BYJv9RzAfcT9fxXjIEj0FFhvmLlDnHc3 Y72m9NkhTEvSlAvj86NjqZWScQ== X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr2355376plo.88.1529683906014; Fri, 22 Jun 2018 09:11:46 -0700 (PDT) Received: from ?IPv6:2600:1010:b065:2cd9:e530:8535:a508:f820? ([2600:1010:b065:2cd9:e530:8535:a508:f820]) by smtp.gmail.com with ESMTPSA id r79-v6sm429904pfk.153.2018.06.22.09.11.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 09:11:44 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v4 7/7] x86/vdso: Move out the CPU number store From: Andy Lutomirski X-Mailer: iPhone Mail (15F79) In-Reply-To: Date: Fri, 22 Jun 2018 09:11:42 -0700 Cc: "Chang S. Bae" , Andy Lutomirski , "H . Peter Anvin" , Ingo Molnar , Andi Kleen , Dave Hansen , Markus T Metzger , Ravi Shankar , LKML Content-Transfer-Encoding: quoted-printable Message-Id: <80C1F514-1B4D-4CDC-BD46-6C3AA9601446@amacapital.net> References: <1529536506-26237-1-git-send-email-chang.seok.bae@intel.com> <1529536506-26237-8-git-send-email-chang.seok.bae@intel.com> To: Thomas Gleixner Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jun 22, 2018, at 8:18 AM, Thomas Gleixner wrote: >=20 >> On Wed, 20 Jun 2018, Chang S. Bae wrote: >>=20 >> +#ifdef CONFIG_X86_64 >> +static void setup_cpu_number(int cpu) >=20 > This function name is really misleading. vdso_setup_cpu_and_node() or > something like that clearly tells what this is about. >=20 Ah. The big secret is that it=E2=80=99s not just vDSO, or at lease hpa wants= to start using it in the entry code. > Thanks, >=20 > tglx