rust-osdev / linked-list-allocator

Apache License 2.0
219 stars 53 forks source link

Consider regions that lead to very small back paddings as unsuitable #71

Closed phil-opp closed 1 year ago

phil-opp commented 1 year ago

If the resulting back padding is too small to be stored as a hole, we treat the hole as unsuitable for the allocation. This way, we avoid unrecoverable leaks of that back padding, which can add up over time and fragment the heap.

Fixes #66

phil-opp commented 1 year ago

Published as v0.10.4.