[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170623090747.oxomynwmbqx54a3t@pd.tnic>
Date: Fri, 23 Jun 2017 11:07:47 +0200
From: Borislav Petkov <bp@...en8.de>
To: Andy Lutomirski <luto@...nel.org>
Cc: x86@...nel.org, linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Nadav Amit <nadav.amit@...il.com>,
Rik van Riel <riel@...hat.com>,
Dave Hansen <dave.hansen@...el.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH v3 07/11] x86/mm: Stop calling leave_mm() in idle code
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 <luto@...nel.org>
> ---
> 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 <bp@...e.de>
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
Powered by blists - more mailing lists