Re: [PATCH v4 03/16] x86/mtrr: replace use_intel() with a local flag

From: Borislav Petkov
Date: Fri Oct 21 2022 - 14:10:54 EST


On Fri, Oct 21, 2022 at 08:05:39PM +0200, Juergen Gross wrote:
> Please have a look at patch 10 (I've put it after the rework of
> mtrr_bp_init() exactly in order to avoid the dance you had to do).

/me goes and looks.

Yeah,

if (mtrr_enabled())

seems more readable to me than

if (mtrr_if)

but ok, changing that is easy.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette