diff options
author | Eric Dong <eric.dong@intel.com> | 2019-12-06 11:36:35 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-12-06 06:41:16 +0000 |
commit | 9caaa79dd7e078ebb4012dde3b3d3a5d451df609 (patch) | |
tree | 65d11532ed777c03aedf8f4bf84d44d60a7a17ae /UefiCpuPkg/UefiCpuPkg.uni | |
parent | 490a62beb7e1d084f14a93b895f9c89a49e4a51d (diff) | |
download | edk2-9caaa79dd7e078ebb4012dde3b3d3a5d451df609.tar.gz edk2-9caaa79dd7e078ebb4012dde3b3d3a5d451df609.tar.bz2 edk2-9caaa79dd7e078ebb4012dde3b3d3a5d451df609.zip |
UefiCpuPkg/PiSmmCpuDxeSmm: Avoid allocate Token every time
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2388
Token is new introduced by MM MP Protocol. Current logic allocate Token
every time when need to use it. The logic caused SMI latency raised to
very high. Update logic to allocate Token buffer at driver's entry point.
Later use the token from the allocated token buffer. Only when all the
buffer have been used, then need to allocate new buffer.
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'UefiCpuPkg/UefiCpuPkg.uni')
-rw-r--r-- | UefiCpuPkg/UefiCpuPkg.uni | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index bfd696f48c..c0d6ed5136 100644 --- a/UefiCpuPkg/UefiCpuPkg.uni +++ b/UefiCpuPkg/UefiCpuPkg.uni @@ -272,3 +272,6 @@ "24000000 - 6th and 7th generation Intel Core processors and Intel Xeon W Processor Family(24MHz).<BR>\n"
"19200000 - Intel Atom processors based on Goldmont Microarchitecture with CPUID signature 06_5CH(19.2MHz).<BR>\n"
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmMpTokenCountPerChunk_PROMPT #language en-US "Specify the count of pre allocated SMM MP tokens per chunk.\n"
+
+#string STR_gUefiCpuPkgTokenSpaceGuid_PcdCpuSmmMpTokenCountPerChunk_HELP #language en-US "This value used to specify the count of pre allocated SMM MP tokens per chunk.\n"
|