Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp989403imm; Wed, 19 Sep 2018 10:05:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZrwRhaiNee+dNr6G99sxCV6Y/uN7EbvMp0W2y4w7vKZz4ZNlBt/j2itgmCNxooIN/0yQh1 X-Received: by 2002:a17:902:7803:: with SMTP id p3-v6mr35191277pll.119.1537376735855; Wed, 19 Sep 2018 10:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537376735; cv=none; d=google.com; s=arc-20160816; b=DnInwD6PLqEk4BAHU/F6AVZGb1oXAsRT9T7IXVV2aVlv6dA4WGJpAo/6YAT2uNGCWc 7Y53wMzp26cYwZ8ckrvS2m4qkAeF3ifrmdmmINe5x8qQ3mWKD0lDFVljMrI+eDQSf7cG LHtAy2xQyHUDCXDMOvRL2cfad6DiBs82469lUCwiJ3IViMZXJp4yjnvwS0SiKK9sWBu/ b8FLmHDF86TDDD908fqt0fK6TjWkOcj0yAeoY2jE3WP7GwqPfKP1s3KasyxOqOvsUoA/ W0ec33Y9G5D2Ea6NbXyhfH+zuQXiZena/JkILkqCm93at+ohxvBc4cN6AUSsctROUTss usZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=39an4G0BNDxRk09VekR6o/iMpot49UuAHEfQA05XrMw=; b=vruqqoQVnXvLpbMfcBpr4xnthtziKt37e5nLeTjAHUw0XoOHvJrSrafqsRTkCVyOHc TXPSJVh8s/FSJtSEqbURJ/vxVl+1YylX7h8FsOsXjnT2jxaWbEkdFyoppZbkKKHBUx0o 8Dp+OkWYgLkqVlRzCrT+Mg6k60qt1/7HcxedHgUoZkByy1SNDoryxHyiXcHpsRTHr7YX slFp6DHkV3m/hNJakNZbQVut1P+x/4ZNKBkivYJDTieBCiFmHxjXFJ/rIQKixE91B7Dj PyyRX9xp0budUZvGAz45hDyA54ut1kYXoR6ee/Usoah200MWo43O6iJoWmCB9KsUxCXJ ZSYA== 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 u7-v6si22284984pfb.227.2018.09.19.10.05.20; Wed, 19 Sep 2018 10:05:35 -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 S1732803AbeISWhP (ORCPT + 99 others); Wed, 19 Sep 2018 18:37:15 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:33014 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731366AbeISWhP (ORCPT ); Wed, 19 Sep 2018 18:37:15 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1g2fo1-0006Pe-2U; Wed, 19 Sep 2018 18:58:25 +0200 Date: Wed, 19 Sep 2018 18:58:25 +0200 From: Sebastian Andrzej Siewior To: Andy Lutomirski Cc: Rik van Riel , linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org, "Jason A. Donenfeld" Subject: Re: [RFC PATCH 04/10] x86/fpu: eager switch PKRU state Message-ID: <20180919165824.pedllijaci32gwd4@linutronix.de> References: <20180912133353.20595-1-bigeasy@linutronix.de> <20180912133353.20595-5-bigeasy@linutronix.de> <181B4EB8-9FEB-415C-8069-192FB8A5B418@amacapital.net> <7C1494C8-C6CA-4599-A6B3-0833F358E3A2@amacapital.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7C1494C8-C6CA-4599-A6B3-0833F358E3A2@amacapital.net> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-09-12 08:49:01 [-0700], Andy Lutomirski wrote: > Sure, but the first write is *before* this. So we can be preempted with the two copies of PKRU being out of sync. so it took a while to understand this but now that I did, I will consider this in the next version. Thank you. Sebastian