diff options
author | Dan Williams <[email protected]> | 2020-01-13 18:22:43 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-01-20 08:14:29 +0100 |
commit | 1db91035d01aa8bfa2350c00ccb63d629b4041ad (patch) | |
tree | 8e71bbf16648063805b4a959510cd45852733bf2 /scripts/bpf_helpers_doc.py | |
parent | 26c0e44a213b272abec0e8fba4a5a2801f95208e (diff) |
efi: Add tracking for dynamically allocated memmaps
In preparation for fixing efi_memmap_alloc() leaks, add support for
recording whether the memmap was dynamically allocated from slab,
memblock, or is the original physical memmap provided by the platform.
Given this tracking is established in efi_memmap_alloc() and needs to be
carried to efi_memmap_install(), use 'struct efi_memory_map_data' to
convey the flags.
Some small cleanups result from this reorganization, specifically the
removal of local variables for 'phys' and 'size' that are already
tracked in @data.
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions