Messages in this thread | | | Date | Thu, 17 Jan 2019 13:14:20 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH] x86/traps: Have read_cr0() only once in the #NM handler |
| |
On 2019-01-17 13:07:28 [+0100], Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > ... instead of twice in the code. In any case, CR0 ends up being read > once anyway: > > 1. The CONFIG_MATH_EMULATION case does so and exits. > 2. The normal case does it once too. > > However, read it on function entry instead to make the code even simpler > to follow.
makes sense.
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Sebastian
| |