summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus
diff options
context:
space:
mode:
authorEric Dong <eric.dong@intel.com>2019-12-27 15:30:27 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-01-02 05:48:20 +0000
commitb948a496150f4ae4f656c0f0ab672608723c80e6 (patch)
treead1bc9e59a9bde62dbc03aea29f15280c6861150 /MdeModulePkg/Bus
parent33a32936510ecff00d0b6aeaeb9c8b2bf5430b8b (diff)
downloadedk2-b948a496150f4ae4f656c0f0ab672608723c80e6.tar.gz
edk2-b948a496150f4ae4f656c0f0ab672608723c80e6.tar.bz2
edk2-b948a496150f4ae4f656c0f0ab672608723c80e6.zip
UefiCpuPkg/PiSmmCpuDxeSmm: Pre-allocate PROCEDURE_TOKEN buffer
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. Former change (9caaa79dd7e078ebb4012dde3b3d3a5d451df609) missed PROCEDURE_TOKEN part, this change covers it. Reviewed-by: Ray Ni <ray.ni@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Eric Dong <eric.dong@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus')
0 files changed, 0 insertions, 0 deletions