From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760290Ab2CWAh0 (ORCPT ); Thu, 22 Mar 2012 20:37:26 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:34853 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022Ab2CWAhZ convert rfc822-to-8bit (ORCPT ); Thu, 22 Mar 2012 20:37:25 -0400 MIME-Version: 1.0 In-Reply-To: <4F6BC1C4.6050502@zytor.com> References: <1332459220.16101.144.camel@sbsiddha-desk.sc.intel.com> <1332460885.16101.147.camel@sbsiddha-desk.sc.intel.com> <4F6BC1C4.6050502@zytor.com> From: Linus Torvalds Date: Thu, 22 Mar 2012 17:37:03 -0700 X-Google-Sender-Auth: 6gYt-fcxejYVNVvwz9gX8eADQT0 Message-ID: Subject: Re: [patch] x86, tlb: switch cr3 in leave_mm() only when needed To: "H. Peter Anvin" Cc: Suresh Siddha , Ingo Molnar , Len Brown , LKML Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2012 at 5:20 PM, H. Peter Anvin wrote: > > Looks great to me.  Linus, do you want this one later in the window if > it tests out OK between now and then, or is it too late? It's small and trivial, so it's fine. I *would* like to hear whether it actually makes any real difference, though. I do see "intel_idle()" as a big cost in idle profiles, and I assume that translates to power use too, but if you guys have some actual numbers, that would be even better. Linus