summaryrefslogtreecommitdiff
path: root/src/kernel/malloc.c
AgeCommit message (Collapse)Author
2024-07-15kernel: minor malloc tweaks before refactordzwdz
* firstfreepage now updates properly, preventing a crash (oops) * kfree only wipes the length of the allocation, not the entire page - which should make it easier to see the performance impact of the pagealloc changes
2024-07-14kernel/malloc: clean up the code a little bitdzwdz
The bitmap functions now accept page addresses so I don't have to handle raw bitmap indexes, which was kinda complex. kmalloc_sanity is now not visible to other code as it wasn't really that useful in the first place.
2024-07-13kernel/malloc: limit the maximum allocation size to under a pagedzwdz
This will likely be changed back, but for the time being it will let me implement a better allocator without too much effort.
2024-03-13kernel/malloc: slight rework (it's still bad), store more metadatadzwdz
2023-09-07kernel: slightly refactor the page allocatordzwdz
2023-09-06kernel: fix panic with large initrddzwdz
2023-02-22kernel/malloc: fill allocated and freed regions with junkdzwdz
2023-01-25kernel: move /mem/alloc to /malloc and linker.ld to arch/amd64/dzwdz