[Feature]: Consider Preventing All Allocations at EBS

Open
#1,931 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@os-d is already working on this.

Since Oct 28, 2026.

Assessment

This issue has not been assessed yet.

Description

state:needs-triage type:feature-request urgency:medium
Feature Overview

The UEFI spec does not allow for memory allocations during EBS event handling. Today the GCD will not allow allocations or frees to prevent changes to the EFI_MEMORY_MAP. However, the allocators will still allow allocations to occur. This is brittle because allocations in the allocators can cause GCD allocations if the allocators need to expand, which is dependent on allocation pattern, so it is not always catchable.

Solution Overview

The allocators should reject allocations and frees during EBS.

Alternatives Considered

No response

Urgency

Medium

Are you going to implement the feature request?

I will implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Dominant language
Rust
Stars
568
Forks
63
Avg merge
1d 16h
Merged PRs (30d)
60

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenDevicePartnership/patina

All issues in OpenDevicePartnership/patina

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.