Re: [PATCH RESEND] CPU hotplug,x86 Microcode: Don't requestmicrocode from userspace unnecessarily

From: Borislav Petkov
Date: Mon Oct 10 2011 - 17:13:11 EST


On Mon, Oct 10, 2011 at 04:58:02PM -0400, Rafael J. Wysocki wrote:
> On Sunday, October 09, 2011, Srivatsa S. Bhat wrote:
> > Requesting the microcode from userspace *every time* when onlining CPUs
> > (during a CPU hotplug operation) is unnecessary.
> >
> > So, this patch ensures that once the kernel gets the microcode after booting,
> > it is not freed nor invalidated when a CPU goes offline, so that it can be
> > reused when that CPU comes back online, without requesting userspace for it
> > again. As a result, the CPU hotplug operations become faster as well.
> >
> > Tested-by: Borislav Petkov <bp@xxxxxxxxx>
> > Acked-by: Borislav Petkov <bp@xxxxxxxxx>
> >
> > Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>
>
> Fine by me. I wonder who should take this?

Ingo, most probably. ucode stuff goes in through -tip.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
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/