diff options
| author | Nathan <me@nwlee.tech> | 2026-06-25 10:03:22 -0500 |
|---|---|---|
| committer | Nathan <me@nwlee.tech> | 2026-06-25 10:03:22 -0500 |
| commit | 27a91e1d9d6d312c519429965b201dd294065085 (patch) | |
| tree | 50c54e09263bdd9b81017ba004e9bbeeca375f53 /include | |
| parent | 746212c43067836488b77b146c01852eafe07b14 (diff) | |
fix memory allocator logic
- fixed an edge case in `kmalloc` where the broken block from a split
may be too small to accomodate another `struct page`. this was fixed
such that if we do not have enough room to allocate another `struct
page` then `kmalloc` simply returns the entire page.
- fixed empty and single-element `free_list` edge cases in `kfree`
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
