On Mar 16, 2015 2:37 AM, "Borislav Petkov" <b...@suse.de> wrote: > > On Sun, Mar 15, 2015 at 09:38:16PM +0100, Borislav Petkov wrote: > > How about we call this function fpu_reset_state() instead? > > IOW, something like this. Reading the usage sites actually make much > more sense to me now. It could be just me though... > > :-) > > --- > From: Borislav Petkov <b...@suse.de> > Date: Mon, 16 Mar 2015 10:21:55 +0100 > Subject: [PATCH] x86/fpu: Rename drop_init_fpu() to fpu_reset_state() > > Call it what it does and in accordance with the context where it is > used: we reset the FPU state either because we were unable to restore it > from the one saved in the task or because we simply want to reset it.
Nice! This is the first time I've actually understood that :). I still have no idea what "init" referred to... --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/