diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-02-25 12:03:04 +0100 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-04-09 17:14:36 +0200 |
| commit | 259e3e6f9382b6a9fe570313d97c59a233f7d72f (patch) | |
| tree | 0c70a493d2e53db4479c501afae5554ae8d2a1a9 /samples/workqueue/stall_detector/git@git.tavy.me:linux.git | |
| parent | a142d0ae9f2ceb0fc7417e19ecfafc8179282e35 (diff) | |
efi: Tag memblock reservations of boot services regions as RSRV_KERN
By definition, EFI memory regions of type boot services code or data
have no special significance to the firmware at runtime, only to the OS.
In some cases, the firmware will allocate tables and other assets that
are passed in memory in regions of this type, and leave it up to the OS
to decide whether or not to treat the allocation as special, or simply
consume the contents at boot and recycle the RAM for ordinary use. The
reason for this approach is that it avoids needless memory reservations
for assets that the OS knows nothing about, and therefore doesn't know
how to free either.
This means that any memblock reservations covering such regions can be
marked as MEMBLOCK_RSRV_KERN - this is a better match semantically, and
is useful on x86 to distinguish true reservations from temporary
reservations that are only needed to work around firmware bugs.
Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'samples/workqueue/stall_detector/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
