Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754255AbdFWJIE (ORCPT ); Fri, 23 Jun 2017 05:08:04 -0400 Received: from mail.skyhub.de ([5.9.137.197]:38590 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbdFWJIC (ORCPT ); Fri, 23 Jun 2017 05:08:02 -0400 Date: Fri, 23 Jun 2017 11:07:47 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Linus Torvalds , Andrew Morton , Mel Gorman , "linux-mm@kvack.org" , Nadav Amit , Rik van Riel , Dave Hansen , Arjan van de Ven , Peter Zijlstra Subject: Re: [PATCH v3 07/11] x86/mm: Stop calling leave_mm() in idle code Message-ID: <20170623090747.oxomynwmbqx54a3t@pd.tnic> References: <2b3572123ab0d0fb9a9b82dc0deee8a33eeac51f.1498022414.git.luto@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2b3572123ab0d0fb9a9b82dc0deee8a33eeac51f.1498022414.git.luto@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 26 On Tue, Jun 20, 2017 at 10:22:13PM -0700, Andy Lutomirski wrote: > Now that lazy TLB suppresses all flush IPIs (as opposed to all but > the first), there's no need to leave_mm() when going idle. > > This means we can get rid of the rcuidle hack in > switch_mm_irqs_off() and we can unexport leave_mm(). > > This also removes acpi_unlazy_tlb() from the x86 and ia64 headers, > since it has no callers any more. > > Signed-off-by: Andy Lutomirski > --- > arch/ia64/include/asm/acpi.h | 2 -- > arch/x86/include/asm/acpi.h | 2 -- > arch/x86/mm/tlb.c | 19 +++---------------- > drivers/acpi/processor_idle.c | 2 -- > drivers/idle/intel_idle.c | 9 ++++----- > 5 files changed, 7 insertions(+), 27 deletions(-) Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.