Re: [patch] x86, tlb: switch cr3 in leave_mm() only when needed

From: Linus Torvalds
Date: Thu Mar 22 2012 - 20:37:28 EST


On Thu, Mar 22, 2012 at 5:20 PM, H. Peter Anvin <hpa@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/