mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 18:56:49 +01:00
3be79a33b0
A basic bump allocator that can handle arbitrary amounts of allocations, so long as all are allocated and freed in a "stack"-like manner. (Actually it could be extended to support non-stack-like operation, but that would require more logic that isn't needed at the moment.) Change-Id: I47077146ea282600130778d312f7d86bd8c032e0 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8238 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Reviewed-by: Michael Lotz <mmlr@mlotz.ch>