diff options
author | Michael Kubacki <michael.a.kubacki@intel.com> | 2019-09-23 18:49:37 -0700 |
---|---|---|
committer | Michael Kubacki <michael.a.kubacki@intel.com> | 2019-11-05 21:55:54 -0800 |
commit | 6f9838f32ff4c3b747c0c47540c34b4ec089642b (patch) | |
tree | c4de738fe1f86ceabd689357b5b42718409699ef /BaseTools/Source/Python/Ecc/Database.py | |
parent | aab3b9b9a1e5e1f3fa966fb1667fc3e6c47e7706 (diff) | |
download | edk2-6f9838f32ff4c3b747c0c47540c34b4ec089642b.tar.gz edk2-6f9838f32ff4c3b747c0c47540c34b4ec089642b.tar.bz2 edk2-6f9838f32ff4c3b747c0c47540c34b4ec089642b.zip |
MdeModulePkg/Variable: Add RT GetNextVariableName() cache support
https://bugzilla.tianocore.org/show_bug.cgi?id=2220
This change implements the Runtime Service GetNextVariableName()
using the runtime cache in VariableSmmRuntimeDxe. Runtime Service
calls to GetNextVariableName() will no longer trigger a SW SMI
when gEfiMdeModulePkgTokenSpaceGuid.PcdEnableVariableRuntimeCache
is set to TRUE (default value).
Overall system performance and stability will be improved by
eliminating an SMI for these calls as they typically result in a
relatively large number of invocations to retrieve all variable
names in all variable stores present.
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc/Database.py')
0 files changed, 0 insertions, 0 deletions