Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1223884imm; Wed, 6 Jun 2018 12:24:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLEI6MLA0R46jFupPFlAvPzU5sh7bXt0q+SUFnBz6PwZzt/AmFlHGDeMtAgZ/Lik0uXk3cU X-Received: by 2002:a62:2414:: with SMTP id r20-v6mr3678674pfj.108.1528313090526; Wed, 06 Jun 2018 12:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528313090; cv=none; d=google.com; s=arc-20160816; b=BeJ0dgvw9eLDkWH1FCl66c3H8pDkqR1nT1OtSPAZOwiTftL/MUnPu20BI3ZGO4N3oh JeA0/DEISFP/TK7AkKbpbY7+LY3WPHnNTSNcchBVUksAzhd0SFJ84dyVFUj4v7waglok pwUav8iwo530HqLO6rRgyIM9Cm2T9VObifOa7WwWYe65WUzbRU1TL7MjvHV3+15tea4o D80U7dOfNxlAa8IUq42XCh8ezbWycs19EaFUviLMiuNeZ8Ayqronhfxh7qEyI7R+tRUj RwbtBWs6xQuASklN+p6hrpZ55nFHGSkd8pduT2bhKNKGABKq8OUnq3caPBIb9JMVg45h SB2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=2I6/D5sLZMbhBnVGpXSJ/b+IKcm6/Kb0ZmXNGPIzHF8=; b=ordFJX6RATMKAo0OK/d4/7EK8RXi8VLbK0CD1RYtGGAAEBoAducD5MNOvVzywQLCNh 1iPUdu54A6ymrZg0IklyPN9Igs0gbh4IbStspAhSzAc3huyPsIUynmZ5qW5x3hJ2+aHY Shm0gZywXXAFJ/JKbndIObWs9OGYJoSqsyijhogCXzw+9BPAudYb03MS9sWIG1roAXkl q490rw+8f/bzUB8beLcJX3w1sQve2ASEfKG9uOVv/ISIMq0rZ3Q2i5TkzzQNvb38A55w ILXpAfOqTqKyQNtLjoVxUlW3UR8F0rB9MTmets0g1x7c0nfVF8RI1UF2Fg6QB45lv1pu kRDg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2-v6si11789057pls.245.2018.06.06.12.24.36; Wed, 06 Jun 2018 12:24:50 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718AbeFFS12 (ORCPT + 99 others); Wed, 6 Jun 2018 14:27:28 -0400 Received: from mga06.intel.com ([134.134.136.31]:25084 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbeFFS11 (ORCPT ); Wed, 6 Jun 2018 14:27:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Jun 2018 11:27:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,484,1520924400"; d="scan'208";a="205877205" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 06 Jun 2018 11:27:26 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Jun 2018 11:27:25 -0700 Received: from crsmsx102.amr.corp.intel.com (172.18.63.137) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Jun 2018 11:27:25 -0700 Received: from crsmsx101.amr.corp.intel.com ([169.254.1.79]) by CRSMSX102.amr.corp.intel.com ([169.254.2.58]) with mapi id 14.03.0319.002; Wed, 6 Jun 2018 12:27:23 -0600 From: "Bae, Chang Seok" To: Andy Lutomirski CC: "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , Andi Kleen , Dave Hansen , "Metzger, Markus T" , "Shankar, Ravi V" , LKML Subject: Re: [PATCH v2 8/8] x86/vdso: Move out the CPU number store Thread-Topic: [PATCH v2 8/8] x86/vdso: Move out the CPU number store Thread-Index: AQHT/bLMYx8EjGCUCUKH/sMAu+9L7aRT39mA//+cAAA= Date: Wed, 6 Jun 2018 18:27:21 +0000 Message-ID: <1D572EBD-5B82-4828-AE3E-8CB9E1FA054E@intel.com> References: <1528302199-29619-1-git-send-email-chang.seok.bae@intel.com> <1528302199-29619-9-git-send-email-chang.seok.bae@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.d.1.180523 x-originating-ip: [10.254.13.187] Content-Type: text/plain; charset="utf-8" Content-ID: <9614E037F86A8343A98B824D91E54C36@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCBKdW4gNiwgMjAxOCBhdCAxMDoyNSBBTSBBbmR5IEx1dG9taXJza2kgPGx1dG9Aa2Vy bmVsLm9yZz4gd3JvdGU6DQo+IE9uIFdlZCwgSnVuIDYsID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