Re: [PATCH 1/2] x86/mm: Reinitialize TLB state on hotplug and resume

From: Borislav Petkov
Date: Thu Sep 07 2017 - 06:10:39 EST


On Thu, Sep 07, 2017 at 11:59:32AM +0200, Ingo Molnar wrote:
> Agreed absolutely, but note that this affects more functions as well - for example
> enter_lazy_tlb() should probably be tlb_lazy_enter() - or at least
> lazy_tlb_enter() or such?

Yeah, or tlb_enter_lazy() or even tlb_enter_lazy_mode() or so. I could
give it a try when things get a bit quieter and see how it actually
looks and how much "better" it becomes, staring at that code...

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--