Re: [PATCH v5 10/12] x86/mtrr/main.c: Ask the first online CPU tosave mtrr

From: Brian Gerst
Date: Thu Jan 12 2012 - 07:33:04 EST


On Wed, Jan 11, 2012 at 12:04 PM, Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:
> From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
>
> Ask the first online CPU to save mtrr instead of asking BSP. BSP could be
> offline when mtrr_save_state() is called.

If you can use any non-boot cpu to save the MTRRs why not just use the
current cpu? They should all be in sync anyways.

--
Brian Gerst
--
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/