Commit graph vbos/include/math.h
Author SHA1 Message Date
Michael Shaw
9222a373fc buddy: replace free-lists with binary tree
before this patch, the buddy allocator used a hybrid bitmap-freelist
approach where free would use the bitmap to determine size, but all
other operations we O(n) traversals of the free-list.

now, both alloc and free use the bitmap exclusively for allocation.
2023-04-29 00:15:50 -04:00
Michael Shaw
74a58d6641 mem: add basic slab allocator 2023-04-20 16:06:49 -04:00
Michael Shaw
43d36f8703 math: add SPDX-License-Identifiers
Add the GPL-2.0-only license identifier to the top of these source files
2023-04-19 17:37:56 -04:00
Michael Shaw
4f4af0946d mem: implement buddy allocator 2023-04-12 13:58:22 -04:00