From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig() Date: Mon, 19 Nov 2018 07:08:44 -0800 Message-ID: <5a319c56-c165-5465-2dc6-4b0e08510abe@intel.com> References: <20181107194858.9380-1-bigeasy@linutronix.de> <20181107194858.9380-3-bigeasy@linutronix.de> <20181108145721.GC7543@zn.tnic> <20181109173521.2m6iijp5wkncgi77@linutronix.de> <20181109185202.GF21243@zn.tnic> <20181109232521.l2ll2n3coxygkxv4@linutronix.de> <20181112155643.vclej44qzg3pmbow@linutronix.de> <433cec57-57a9-afff-22f3-68308eda682b@intel.com> <20181119114151.e4mbs7ktfjojl3uf@linutronix.de> <982af52b-4e39-2b26-a184-2fe13f3d9f61@intel.com> <20181119150656.ylbrsvchdyavms4w@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Borislav Petkov , x86@kernel.org, Ingo Molnar , linux-kernel@vger.kernel.org, Andy Lutomirski , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Rik van Riel , Dave Hansen To: Sebastian Andrzej Siewior Return-path: In-Reply-To: <20181119150656.ylbrsvchdyavms4w@linutronix.de> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 11/19/18 7:06 AM, Sebastian Andrzej Siewior wrote: > On 2018-11-19 07:04:35 [-0800], Dave Hansen wrote: >> Does the local_bh_disable() itself survive? > Not in __fpu__restore_sig(). I do have: > | static inline void __fpregs_changes_begin(void) > | { > | preempt_disable(); > | local_bh_disable(); > | } > > and __fpregs_changes_begin() is introduced as part of the series. OK, so can we just comment *that*, please? Basically, why do we need botj?