Any feedback?
From: devel@edk2.groups.io on behalf of Nolan Hergert
Sent: Wednesday, May 24, 2023 12:07 PM
To: devel@edk2.groups.io
Cc: Bi, Dandan ; Gao, Liming
Subject: [edk2-devel] [PATCH 1/1] MdeModulePkg: Cache device path during
LoadImage calls
During LoadImage, there 6-7 of the same call to CoreLocateDevicePath
and can be cached during a particular call to LoadImage. For
implementations with significant numbers of calls to LoadImage (>250),
this change will improve the boot time by >10ms.
Signed-off-by: Nolan Hergert
---
MdeMod
ed-off-by: Nolan Hergert
---
MdeModulePkg/Core/Dxe/Hand/Locate.c | 21 -
MdeModulePkg/Core/Dxe/Image/Image.c | 15 +--
2 files changed, 29 insertions(+), 7 deletions(-)
diff --git a/MdeModulePkg/Core/Dxe/Hand/Locate.c
b/MdeModulePkg/Core/Dxe/Hand/Locate.c
index a29010