]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg/CpuDxe: StartupAllAPs in parallel mode
authorJeff Fan <jeff.fan@intel.com>
Fri, 1 Jul 2016 07:52:40 +0000 (15:52 +0800)
committerJeff Fan <jeff.fan@intel.com>
Wed, 20 Jul 2016 03:13:25 +0000 (11:13 +0800)
commitafa7b97154b3497a364eeccc439a79ae9ed5e1a3
tree885ffcf9cbd70881bdbf32e52fd9e4477ff3f7df
parent81f560498bf1ca2bfa738741f63f9bc90a4db7d2
UefiCpuPkg/CpuDxe: StartupAllAPs in parallel mode

SetMemoryAttributes() will sync BSP's MTRRs settings to all APs by StartupAllAPs
service in serial mode. It may caused much performance impact if there are too
much processors in system. This update is to invoke StartupAllAps in parallel
mode. IA32 SDM does suggest to program MTRRs in parallel mode.

Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
UefiCpuPkg/CpuDxe/CpuDxe.c