Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5072949imm; Tue, 19 Jun 2018 04:43:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJXaqsuXw53szjyxFLqBCPJmILCCbv5+TuRr1tDtgofy/MORpmcsj8mNfiRgbi3FirbZEF4 X-Received: by 2002:a62:9bc9:: with SMTP id e70-v6mr17558683pfk.15.1529408625331; Tue, 19 Jun 2018 04:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529408625; cv=none; d=google.com; s=arc-20160816; b=T23ujL8PeJQ8d2wyTRPhC+d/U5K01vCqrKA9tB2WYwJfH7gesxY1hVKLYrPLN6mR8S oywtwDcrF2Jmym/E5cqMLc4TOep9U7a8rhevwJSusdYVt2zdPcteMvrLGJwYa0PwptXt XE0K3CzYAlmjrnzpNd1/0M4lp+Azn8NYra8qOy73UlXgax9kQww/kEM0wRfFbUhqAP6W JBPKUZ1p19UsLwSmiYfvPgoBwOdHMTzliJqQZfZv23tFLP1v09CDMkSTR8/MV5eESHDV T1vwFY1NhcX+Mc+Zay9zdsfaH0hMFPzCaObuE7MKDXZTIHVMD5+H5jC5UgTeucH2OXSl ToGQ== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=HjNwVGM9rPVpnA5iOIC8ngbC04VkDZvKWKgS6GIa8Z4=; b=dRZX6xrvaExlhb7UKCIXaSdx9/5NOXecUsyoEhL+alsY5uvj7vxTWnyjqReHhDlTeJ Dtb82plhFp5YNGgzhx95XcbD/dgPND9k4UK7nabQYILGhHqwYV2SuTrSwk/a7Z4qOGzC rs91DUaJ8ezkHmcSMPAbRSfuKBgykc7cXF75e8yoCjIpYN+c9sjkXsLkq3jlYcopIh24 toTjRvbavuESaxNmWYVNQSl1KKWzHLNguYxCI/XnNNMrXK/d7Q05+KuBX8NCB1G4wOni GZK++gh8Fez3Yhn9JF2FYe5Zh7R6AxsRnDzjfU8KNKCkvJkJw+MxNs/N+UuwtiD5vxSx lEMw== 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 i135-v6si14189109pgc.118.2018.06.19.04.43.31; Tue, 19 Jun 2018 04:43:45 -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 S937676AbeFSLmr (ORCPT + 99 others); Tue, 19 Jun 2018 07:42:47 -0400 Received: from smtp-out6.electric.net ([192.162.217.182]:51257 "EHLO smtp-out6.electric.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S937477AbeFSLmq (ORCPT ); Tue, 19 Jun 2018 07:42:46 -0400 Received: from 1fVF1y-000SlA-WA by out6e.electric.net with emc1-ok (Exim 4.90_1) (envelope-from ) id 1fVF1z-000Sr2-VO; Tue, 19 Jun 2018 04:42:39 -0700 Received: by emcmailer; Tue, 19 Jun 2018 04:42:39 -0700 Received: from [156.67.243.126] (helo=AcuMS.aculab.com) by out6e.electric.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1fVF1y-000SlA-WA; Tue, 19 Jun 2018 04:42:38 -0700 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 19 Jun 2018 12:43:50 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Tue, 19 Jun 2018 12:43:50 +0100 From: David Laight To: 'Andy Lutomirski' , Dave Hansen CC: "Jason A. Donenfeld" , Rik van Riel , LKML , X86 ML Subject: RE: Lazy FPU restoration / moving kernel_fpu_end() to context switch Thread-Topic: Lazy FPU restoration / moving kernel_fpu_end() to context switch Thread-Index: AQHUBNpjBljIDTc4FUaOV5elJcrh/aRnequA Date: Tue, 19 Jun 2018 11:43:50 +0000 Message-ID: <8fcc0d8f5d8f48ca92e034d0c1a3c157@AcuMS.aculab.com> References: <6eecf873-9d87-5345-70ba-5c064a31714b@linux.intel.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.33] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Outbound-IP: 156.67.243.126 X-Env-From: David.Laight@ACULAB.COM X-Proto: esmtps X-Revdns: X-HELO: AcuMS.aculab.com X-TLS: TLSv1.2:ECDHE-RSA-AES256-SHA384:256 X-Authenticated_ID: X-PolicySMART: 3396946, 3397078 X-Virus-Status: Scanned by VirusSMART (s) X-Virus-Status: Scanned by VirusSMART (c) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQW5keSBMdXRvbWlyc2tpDQo+IFNlbnQ6IDE1IEp1bmUgMjAxOCAxOTo1NA0KPiBPbiBG cmksIEp1biAxNSwgMjAxOCBhdCAxMTo1MCBBTSBEYXZlIEhhbnNlbg0KPiA8ZGF2ZS5oYW5zZW5A bGludXguaW50ZWwuY29tPiB3cm90ZToNCj4gPg0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