aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/libstub/randomalloc.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2025-02-27 13:30:22 +0000
committerArd Biesheuvel <[email protected]>2025-02-27 17:25:44 +0000
commite3cf2d91d0583cae70aeb512da87e3ade25ea912 (patch)
tree4538b7444ac836b147b39d7fb77031db652cde45 /drivers/firmware/efi/libstub/randomalloc.c
parentefi: Don't map the entire mokvar table to determine its size (diff)
downloadkernel-e3cf2d91d0583cae70aeb512da87e3ade25ea912.tar.gz
kernel-e3cf2d91d0583cae70aeb512da87e3ade25ea912.zip
efi/mokvar-table: Avoid repeated map/unmap of the same page
Tweak the logic that traverses the MOKVAR UEFI configuration table to only unmap the entry header and map the next one if they don't live in the same physical page. Link: https://lore.kernel.org/all/[email protected]/ Tested-By: Peter Jones <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/firmware/efi/libstub/randomalloc.c')
0 files changed, 0 insertions, 0 deletions