This commit is contained in:
marc0246 2023-09-09 18:00:10 +02:00 committed by GitHub
parent b4f4089ad3
commit 1c2371cac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -850,12 +850,6 @@ impl StandardMemoryAllocator {
/// another block. No `DeviceMemory` is allocated when the allocator is created, the blocks are
/// only allocated once they are needed.
///
/// # Locking behavior
///
/// The allocator never needs to lock while suballocating unless `S` needs to lock. The only time
/// when a pool must be locked is when a new `DeviceMemory` block is allocated for the pool. This
/// means that the allocator is suited to both locking and lock-free (sub)allocation algorithms.
///
/// [memory allocator]: MemoryAllocator
/// [suballocate]: Suballocator
/// [the `MemoryAllocator` implementation]: Self#impl-MemoryAllocator-for-GenericMemoryAllocator<S>