Re: [edk2] [PATCH] UefiCpuPkg/CpuDxe: fix bad boot performance

2018-01-18 Thread Dong, Eric
Reviewed-by: Eric Dong -Original Message- From: Wang, Jian J Sent: Thursday, January 18, 2018 3:39 PM To: edk2-devel@lists.01.org Cc: Dong, Eric ; Laszlo Ersek Subject: [PATCH] UefiCpuPkg/CpuDxe: fix bad boot performance If

[edk2] [PATCH] UefiCpuPkg/CpuDxe: fix bad boot performance

2018-01-17 Thread Jian J Wang
If features like memory profile, protection and heap guard are enabled, a lot of more memory page attributes update actions will happen than usual. An unnecessary sync of CR0.WP setting among APs will then cause worse performance in memory allocation action. Removing the calling of