Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4509705imu; Mon, 12 Nov 2018 12:15:30 -0800 (PST) X-Google-Smtp-Source: AJdET5fSOprdFNYGzn8wiq0ERxlMm8CuRukq6lrLHBemikBx4MABjR9/T5OilUvtVAMTknShxmVu X-Received: by 2002:a17:902:b78b:: with SMTP id e11mr2171090pls.90.1542053730309; Mon, 12 Nov 2018 12:15:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542053730; cv=none; d=google.com; s=arc-20160816; b=Ps61JO946xsJuT21223qDK3YOpTLVzdP+on2NuxFAH8lHNUbqhQjU0bKc8CH3gV6fK 5jnYFFAmT1mh8ZvXEZWuIKnKwtF+XaCGR6jKU8ZTanwSOS+qFd83ked2DO7Rywce1oeO +NwElmMqp1H1FnmogqQBgn7NU/7uSqdjweUFU2QQVsYF37gtfKJ6Ppfl/DMNngwObFts TBcGTm9PUanmY7fPn8Fg2XHj3HHui2MIocl6Ks2BpZN9d5TPF51Si6lHskTU7axT9kK6 GpbMLzCXVf/F7q2W/D/xCd7rXsQJeyuMPhUrVWBqQXqKlQmuPcJ8o2SeqY9tEiH3yk/U 5KuQ== 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:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=euU/pR/Wv+DbT5ZltnjlqZCMRAxNCENFJNq7HRF1nq0=; b=ijE6tuwxzOc2Q7H8uw8Rk+gh1B/69uyBWbNaEcXA7Wf831+VStAnC1/F1rKhG3mG1i 3v0xxJgTHP2GZDTpKVYP81Zpws02CmIrKCRIvVSQIIZ5t2mieyQXue47B61s3Dy8QMs/ OBNhMwea5spoOIkBQXbXncvrklkN8wKlhSRyn1QNpWA88S3c4hvIhBpPz8SIRUAaxLFE ph2ouPdowZKxiO46sB6pGFnxy0Pi1Vqbg4zcsoVyGnQINem2B74t1Scbv8PbGRB3TvID uh0rN342xcJDNlAtW1qIGnFDPNv7LicHGib9qBN6gG4rrMNNiZpO7iZoD2mFGaE8lA1z jIVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector1 header.b=SzD7dWMD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si18098603pgn.551.2018.11.12.12.15.14; Mon, 12 Nov 2018 12:15:30 -0800 (PST) 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=@vmware.com header.s=selector1 header.b=SzD7dWMD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730361AbeKMGIN (ORCPT + 99 others); Tue, 13 Nov 2018 01:08:13 -0500 Received: from mail-eopbgr700081.outbound.protection.outlook.com ([40.107.70.81]:62208 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725834AbeKMGIN (ORCPT ); Tue, 13 Nov 2018 01:08:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=euU/pR/Wv+DbT5ZltnjlqZCMRAxNCENFJNq7HRF1nq0=; b=SzD7dWMDSChr9BDqVbPXk7dxB9V/zyWf/eOS/OUjE+2eQle7PdNW0C6/csiH+gTdzX9ToD5QzMWMkz8htEdimXWf0eQdIIMTIXGxPsea2+ng0A8IXLJREhr4/3e1qUSknYM6soBQ5bZJTCMvDZWuE+sa2GjxyCR/fJEPaXW7C/I= Received: from BYAPR05MB4776.namprd05.prod.outlook.com (52.135.233.146) by BYAPR05MB5448.namprd05.prod.outlook.com (20.177.185.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1339.13; Mon, 12 Nov 2018 20:12:42 +0000 Received: from BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::a1b8:a948:4c8c:747d]) by BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::a1b8:a948:4c8c:747d%4]) with mapi id 15.20.1339.019; Mon, 12 Nov 2018 20:12:42 +0000 From: Nadav Amit To: Peter Zijlstra CC: LKML , X86 ML , "H. Peter Anvin" , Thomas Gleixner , Borislav Petkov , Dave Hansen , Andy Lutomirski , Kees Cook , Dave Hansen , Masami Hiramatsu , Ingo Molnar Subject: Re: [PATCH v4 02/10] x86/jump_label: Use text_poke_early() during early init Thread-Topic: [PATCH v4 02/10] x86/jump_label: Use text_poke_early() during early init Thread-Index: AQHUeYjErLQBC6fwG0CJ7lgrBoVJLaVMlQIA Date: Mon, 12 Nov 2018 20:12:42 +0000 Message-ID: <052E33FA-6EB8-4012-ADDA-0D770E307461@vmware.com> References: <20181110231732.15060-1-namit@vmware.com> <20181110231732.15060-3-namit@vmware.com> In-Reply-To: <20181110231732.15060-3-namit@vmware.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=namit@vmware.com; x-originating-ip: [208.91.2.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR05MB5448;20:aZG1t7PD8TaBQjriYXoHERtSqKtKxbUGlrscvPJRVxwhNK8fNMNTe5J7Il6i6BJb6DAqhYRoWO+WFz0stASi5qhzF9UBiyMnxDmKLDkQP0ulVkeh07oXlJ0TObLRYp20gw/Jq/+rvlJ6bDwEuUBPzJYfwJi4lF5x6C/9aCYIjY4= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f29140b0-843f-4b81-c394-08d648db33d9 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390040)(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:BYAPR05MB5448; x-ms-traffictypediagnostic: BYAPR05MB5448: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231382)(944501410)(52105112)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:BYAPR05MB5448;BCL:0;PCL:0;RULEID:;SRVR:BYAPR05MB5448; x-forefront-prvs: 0854128AF0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(136003)(39860400002)(366004)(189003)(199004)(229853002)(6512007)(26005)(25786009)(66066001)(2906002)(53936002)(4326008)(6436002)(14454004)(83716004)(71200400001)(316002)(102836004)(186003)(106356001)(33656002)(71190400001)(105586002)(3846002)(6116002)(54906003)(305945005)(6916009)(53546011)(7736002)(478600001)(6506007)(2900100001)(36756003)(97736004)(7416002)(5660300001)(476003)(2616005)(446003)(486006)(11346002)(8936002)(76176011)(68736007)(6486002)(256004)(14444005)(6246003)(81166006)(82746002)(8676002)(86362001)(81156014)(99286004)(575784001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR05MB5448;H:BYAPR05MB4776.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2JUq+IKAWihUEXoZFjl+x7VWERboiV4TbSOju+5JAmB5eH0yEt5afCZPsWkhPU0LaY1XKtjF9s3jL1xqV7+bFRhsgDqtIZ4gSY6GdAOqLVUCFb15JttXZH8kedjFbBxF5KZSR8VVkSK2Mru+6fZg2gDK48fJo+8z3cFsMt3hkNguHdXHwgwyLg+iQ9rNdmM5jFrh4+8xgtoq1kh+bDqjTQ2LU4410+fImhyha5CYhJcuYww68AoiYbYxDQLBO6ndzgNQWZ2wCF6MGjseG8P2lpS4dwuIBUmHWBMLBmLqf0LEL8sPVhtY5Vupt13r0ezrRUIAg6rz47GI5fOy65+KrwgKl8k/2EoG88UbKXdyZgI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: f29140b0-843f-4b81-c394-08d648db33d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2018 20:12:42.3200 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB5448 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGV0ZXIsDQoNCkkgaGF2ZSBwdXQgeW91IGFzIGEg4oCcQ28tRGV2ZWxvcGVkLWJ54oCdLCBzaW5j ZSB0aGUgcGF0Y2ggZW5kZWQgdXAgYXMgYmVpbmcgdGhlDQpzaW5nbGUgbGluZSB0aGF0IHlvdSB3 cm90ZSBpbiB0aGUgY29ycmVzcG9uZGVuY2Ugb2YgdGhlIHByZXZp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