From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754971AbdIGKKg (ORCPT ); Thu, 7 Sep 2017 06:10:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:40620 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754854AbdIGKK3 (ORCPT ); Thu, 7 Sep 2017 06:10:29 -0400 Date: Thu, 7 Sep 2017 12:10:19 +0200 From: Borislav Petkov To: Ingo Molnar Cc: Andy Lutomirski , X86 ML , "linux-kernel@vger.kernel.org" , Linus Torvalds Subject: Re: [PATCH 1/2] x86/mm: Reinitialize TLB state on hotplug and resume Message-ID: <20170907101018.hdekw2fzpwjnf6d4@pd.tnic> References: <20170907095437.fs53v7w4smhsbd6m@pd.tnic> <20170907095931.gnekqsgeelutofb4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170907095931.gnekqsgeelutofb4@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) --