Hobby operating system for x86_64
Go to file
Bananymous d9c05b7378 Kernel: rewrite the whole kmalloc (again)
Performance of the old kmalloc implementation was terrible.
We now use fixed-width linked list allocations for sizes <= 60 bytes.
This is much faster than variable size allocation.

We don't use bitmap scanning anymore since it was probably the slow
part. Instead we use headers that tell allocations size and aligment.

I removed the kmalloc_eternal, even though it was very fast, there is
not really any need for it, since the only place it was used in was IDT.

These changes allowed my psf (font) parsing to go from ~500 ms to ~20 ms.
(coming soon :D)
2023-02-22 16:32:50 +02:00
BAN BAN: Basic containers have shrink_to_fit() method 2023-02-22 02:07:05 +02:00
kernel Kernel: rewrite the whole kmalloc (again) 2023-02-22 16:32:50 +02:00
libc All: rename every function from UpperCamelCase to snake_case 2023-02-01 21:05:44 +02:00
.gitignore Buildsystem: Build disk image manually 2023-02-05 18:08:40 +02:00
bochs.sh Buildsystem: Build disk image manually 2023-02-05 18:08:40 +02:00
build.sh Initial commit. We have a booting kernel 2022-11-12 21:04:47 +02:00
clean.sh Buildsystem: Build disk image manually 2023-02-05 18:08:40 +02:00
config.sh All: Move to c++20 2023-02-09 23:05:26 +02:00
default-host.sh Kernel: Change default host to x86_64 2023-01-30 18:53:30 +02:00
disk.sh Buildsystem: Build disk image manually 2023-02-05 18:08:40 +02:00
headers.sh Initial commit. We have a booting kernel 2022-11-12 21:04:47 +02:00
install-usb.sh Build: Make install-usb.sh print human readable size 2023-02-19 00:48:25 +02:00
qemu.sh Buildsystem: Build disk image manually 2023-02-05 18:08:40 +02:00
target-triplet-to-arch.sh Initial commit. We have a booting kernel 2022-11-12 21:04:47 +02:00