From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753866AbdAZQX3 (ORCPT ); Thu, 26 Jan 2017 11:23:29 -0500 Received: from mail-wj0-f193.google.com ([209.85.210.193]:34678 "EHLO mail-wj0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752790AbdAZQW1 (ORCPT ); Thu, 26 Jan 2017 11:22:27 -0500 Date: Thu, 26 Jan 2017 16:53:07 +0100 From: Ingo Molnar To: Rik van Riel Cc: linux-kernel@vger.kernel.org, Andrew Morton , Andy Lutomirski , Borislav Petkov , Dave Hansen , Fenghua Yu , "H . Peter Anvin" , Linus Torvalds , Oleg Nesterov , Peter Zijlstra , Thomas Gleixner , Yu-cheng Yu Subject: Re: [PATCH 5/7] x86/fpu: Change fpu->fpregs_active users to fpu->fpstate_active Message-ID: <20170126155307.GA26069@gmail.com> References: <1485429989-23340-1-git-send-email-mingo@kernel.org> <1485429989-23340-6-git-send-email-mingo@kernel.org> <1485441852.15964.49.camel@redhat.com> <20170126151642.GB12274@gmail.com> <1485445549.15964.53.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1485445549.15964.53.camel@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Rik van Riel wrote: > Let me go totally reimplement this whole project in a different way... Note that I can still be convinced about complicating the FPU state machine as well if that ends up being the best approach for KVM - but it appears to me (from a very superficial look) that turning vCPU threads into no-FPU kthreads or representing the guest FPU state directly with the host FPU context would be even more beneficial, from the simplicity and KVM performance POV? > At least I found some good FPU bugs and cleanups along the way. Absolutely, and your efforts are much appreciated! This ptrace state handling madness that bit you on SkyLake was something I missed entirely. Thanks, Ingo