From: Sebastian Andrzej Siewior Subject: Re: [PATCH 09/22] x86/fpu: Add (__)make_fpregs_active helpers Date: Thu, 14 Feb 2019 15:51:53 +0100 Message-ID: <20190214145153.oeqlocjwqeaedlvq@linutronix.de> References: <20190109114744.10936-1-bigeasy@linutronix.de> <20190109114744.10936-10-bigeasy@linutronix.de> <20190128182349.GG20487@zn.tnic> <20190207104325.ai5fzaxa7xy7yydv@linutronix.de> <20190213093025.GA9683@zn.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org, "Jason A. Donenfeld" , Rik van Riel , Dave Hansen To: Borislav Petkov Return-path: Content-Disposition: inline In-Reply-To: <20190213093025.GA9683@zn.tnic> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 2019-02-13 10:30:25 [+0100], Borislav Petkov wrote: > On Thu, Feb 07, 2019 at 11:43:25AM +0100, Sebastian Andrzej Siewior wrote: > > They are accessible inside the region. But they should not be touched by > > context switch code (and later BH). > > Is that what you meant? > > I just don't like that "changes" name. So when called, those functions > practically lock the FPU regs from being accessed by others. So with > > fpregs_lock > fpregs_unlock > > for example, is kinda clear what's going on and you don't have to wonder > what it does. renamed as suggested. Sebastian