We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f183718 commit 7fc103fCopy full SHA for 7fc103f
uefi/src/mem/memory_map/impl_.rs
@@ -248,8 +248,9 @@ impl MemoryMapBackingMemory {
248
}
249
250
/// Returns a "safe" best-effort size hint for the memory map size with
251
- /// some additional bytes in buffer compared to the [`crate::table::boot::mmap::MemoryMapMeta`].
252
- /// This helps
+ /// some additional bytes in buffer compared to the [`MemoryMapMeta`]. This
+ /// takes into account that, as you go, more (small) allocations might
253
+ /// happen.
254
#[must_use]
255
fn safe_allocation_size_hint(mmm: MemoryMapMeta) -> usize {
256
// Allocate space for extra entries beyond the current size of the
0 commit comments