Skip to content

[Task]: Investigate simpler allocator management #1174

Open

Description

@makubacki

Request Description

Currently a separate static allocator is created for the following memory types:

  • EFI_BOOT_SERVICES_DATA
  • EFI_LOADER_CODE
  • EFI_BOOT_SERVICES_CODE
  • EFI_RUNTIME_SERVICES_CODE
  • EFI_RUNTIME_SERVICES_DATA

While the remaining memory types are created as "dynamic" allocators when the first memory allocation is made to those types.


Currently, these allocators are backed by a "fixed size block" allocator that used a minimum expansion size to expand the allocator memory. In an effort to reduce global statics and simplify overall allocator management, this issue tracks investigating treating all allocators more consistently with potentially an exception for the EFI_BOOT_SERVICES_DATA allocator since it is the most used during boot and would benefit the most from optimization.

Are you going to make the change?

I will make the change

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions