Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp712191imm; Wed, 29 Aug 2018 10:14:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdafFewf0Dw3fZjPeDDNwF5M6XHM0UubEOX8Lu2+AceDbuo4KShtw9T5knGxjSMHTK5sgtWg X-Received: by 2002:a17:902:bd44:: with SMTP id b4-v6mr6819340plx.144.1535562856488; Wed, 29 Aug 2018 10:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535562856; cv=none; d=google.com; s=arc-20160816; b=rV7vfwOdHDgHNAKExVuz8phwfbfHSt4eU9b5BL01mnP33ukHkWtRTSs8WE0WVb/SJQ CKDHjqKBpoe+qbXz29v+pOrCXSAcVdUEBs7K1WdcVpPQrxmTGW+UgYydNAcpfW8qniqc 6sRJIGvp9EM+D2wKbE5KAuSbADdGDxEzFrvT5yRauXS396MZF2hBCpLiA8xv+5SYmyjk lZUSFENZZny3/bNKwHGO6O8KEgu8she1IHATCuucUrwJYlW+s/wgmSMq8ubzFD7Se4P/ ChqXe3+dYnB2ueQD5b3AyVee3fgden+hBjSdEZZ/FvfFsdDmsxDUqfLQhKFHnK+s+JBD ayig== 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:bcl :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=58Waath/26/N/seQvsRSg2Y43milbvQzX1m5DAdPjEI=; b=vPSgLo63QGbfZN9QS0m7yFYISylNUwVkCciNr0cw1HD4gqpqzadBOyej52nDJGz8Io jpc8gDASQEULiv93uaxNWj8TV40FPxNeqHTPSjN1FbxC1DtuEIlLkMzK4IirUSTZbXXc 81IUWFqPOhbzL660IRqdVC4/uj1GKjIAtv7ybuAwt3rdhS/w8NBmiDGpufLLBjFemWOS bW2QWr9EQog0e8RBqf2Xk51jSSvKoLh1s8HLbL/SHbBS6mRpxXaFOTk4UeSgaAp1fuku t8qjG0Phwdp6LMeumya6jkkOjI6I1dUsvhCm4IUH6VDrQQEKG8ijLhMdjHRfewizC8te ZQfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector1 header.b=lteGpbLc; 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 a9-v6si4396337pgj.224.2018.08.29.10.14.01; Wed, 29 Aug 2018 10:14:16 -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=@vmware.com header.s=selector1 header.b=lteGpbLc; 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 S1728513AbeH2VJt (ORCPT + 99 others); Wed, 29 Aug 2018 17:09:49 -0400 Received: from mail-eopbgr690084.outbound.protection.outlook.com ([40.107.69.84]:26016 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728481AbeH2VJt (ORCPT ); Wed, 29 Aug 2018 17:09:49 -0400 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=58Waath/26/N/seQvsRSg2Y43milbvQzX1m5DAdPjEI=; b=lteGpbLcA0J5XN8vn5/Q/rlGbh0F+IHEJxVX4wV3rXHbdlAaGqN/SjvFsTRH2iQzKGglY+emer8dmBUJIFIiHG8F0nHgUgATdMjzrCKeh+UEqe6x9jhWAtff/rxdsUisuKSWgmDRplQ+v2MaP9WCHMvEV+xiPxtxyLHVLHvfGtg= Received: from BYAPR05MB4776.namprd05.prod.outlook.com (52.135.233.146) by BYAPR05MB4278.namprd05.prod.outlook.com (52.135.202.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1101.11; Wed, 29 Aug 2018 17:11:53 +0000 Received: from BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::911b:395c:ce8a:38c3]) by BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::911b:395c:ce8a:38c3%3]) with mapi id 15.20.1101.007; Wed, 29 Aug 2018 17:11:53 +0000 From: Nadav Amit To: Masami Hiramatsu CC: Thomas Gleixner , LKML , Ingo Molnar , X86 ML , Arnd Bergmann , linux-arch , Andy Lutomirski , Kees Cook Subject: Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken Thread-Topic: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken Thread-Index: AQHUP3AveUOJQxVhiEqJKH9IYmSgsaTWblgAgACJiIA= Date: Wed, 29 Aug 2018 17:11:53 +0000 Message-ID: <1F547CEE-B5D9-42A0-8093-2C5555BACE26@vmware.com> References: <20180829081147.184610-1-namit@vmware.com> <20180829081147.184610-2-namit@vmware.com> <20180829175936.fb27b3bf13da819a9a971f07@kernel.org> In-Reply-To: <20180829175936.fb27b3bf13da819a9a971f07@kernel.org> 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: [66.170.99.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR05MB4278;20:MnntJe7aCefZf2SntgYW2zKkcgNhurBTb14OKhV1JSDf9LK94jRgBHHXG72qM3eloLWiO/1NNMNoK5lyiASpchZJ2vn1kzznXZcAzU4HDH+OJZ9vFhCzuh+98ShtkbITbDyVXlNozb9mkFNUB645ZGDpaHEe//Qyb0MDG36bSIk= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 6df721bc-0cc5-4d27-70c3-08d60dd2846b x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BYAPR05MB4278; x-ms-traffictypediagnostic: BYAPR05MB4278: bcl: 0 x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(61668805478150); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699016);SRVR:BYAPR05MB4278;BCL:0;PCL:0;RULEID:;SRVR:BYAPR05MB4278; x-forefront-prvs: 077929D941 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(346002)(136003)(366004)(39860400002)(396003)(199004)(189003)(99286004)(217873002)(14444005)(8936002)(81166006)(83716003)(305945005)(7736002)(81156014)(6506007)(82746002)(316002)(446003)(54906003)(6486002)(106356001)(6436002)(53936002)(256004)(2906002)(68736007)(36756003)(8676002)(102836004)(11346002)(476003)(486006)(2616005)(6246003)(2900100001)(97736004)(478600001)(105586002)(86362001)(5660300001)(14454004)(76176011)(33656002)(186003)(5250100002)(4326008)(26005)(6916009)(6116002)(3846002)(66066001)(25786009)(229853002)(6512007);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR05MB4278;H:BYAPR05MB4776.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 1rsdarG+iNy7DvTq2CKeZ6/7fF8zbA0z7B19sNYtLmpDxghmVlignxT2ZjG2XgXRY4BMiy7pH/rccybTQF/zCdkfd6tWciJe+7zU6TNbpJvWJAc07OabuOLH/Xbs/09x7GtkDYFeWuc4y/X/E8HYku0tZhrvBeO2uTGJR2990fiAiI077kWZ7+Q7hYUeupIcMTjpxZn4/xoIoQwFHOb0ahPdGYpi16jLzfbIa+j9VsafstdHECkuVHh3zrNvPGykvSu6FbzAONZ3Z6MR05I97P5JCH9AbhE2JqE+w2kmANA2vvJmquhbYxqJ1kp9NxHCEs1I8m6OMK/PpXkiP1RT5hn/4hL6E9bqzFShH6UrW/c= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2B964218AB06114B91FD319FEB7F8020@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6df721bc-0cc5-4d27-70c3-08d60dd2846b X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2018 17:11:53.3087 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4278 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org YXQgMTo1OSBBTSwgTWFzYW1pIEhpcmFtYXRzdSA8bWhpcmFtYXRAa2VybmVsLm9yZz4gd3JvdGU6 DQoNCj4gT24gV2VkLCAyOSBBdWcgMjAxOCAwMToxMTo0MiAtMDcwMA0KPiBOYWRhdiBBbWl0IDxu YW1pdEB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