1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 14:57:35 +00:00
serenity/Kernel/Devices/HID
Andreas Kling ac7ce12123 Kernel: Remove the kmalloc_eternal heap :^)
This was a premature optimization from the early days of SerenityOS.
The eternal heap was a simple bump pointer allocator over a static
byte array. My original idea was to avoid heap fragmentation and improve
data locality, but both ideas were rooted in cargo culting, not data.

We would reserve 4 MiB at boot and only ended up using ~256 KiB, wasting
the rest.

This patch replaces all kmalloc_eternal() usage by regular kmalloc().
2021-12-28 21:02:38 +01:00
..
HIDDevice.h Kernel: Make major and minor numbers to be DistinctNumerics 2021-12-23 23:02:39 +01:00
HIDManagement.cpp Kernel: Move ACPI and BIOS code into the new Firmware directory 2021-09-12 11:52:16 +02:00
HIDManagement.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
I8042Controller.cpp Kernel: Drain I8042 PS/2 keyboard output after enabling 2021-11-12 07:35:18 +01:00
I8042Controller.h Kernel: Drain I8042 PS/2 keyboard output after enabling 2021-11-12 07:35:18 +01:00
KeyboardDevice.cpp Kernel: Ensure KeyEvent::key sent to Userspace respects keyboard layout 2021-11-26 11:19:36 -08:00
KeyboardDevice.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
MouseDevice.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
MouseDevice.h Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
PS2KeyboardDevice.cpp Kernel: Enumify all magic constants for I8042 devices 2021-10-24 21:59:08 +02:00
PS2KeyboardDevice.h Kernel: Use operator ""sv in all class_name() implementations 2021-10-03 13:36:10 +02:00
PS2MouseDevice.cpp Everywhere: Rename back-click to backward-click 2021-10-27 22:05:58 +03:00
PS2MouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00
VMWareMouseDevice.cpp Kernel: Process available VMWare mouse events immediately 2021-11-04 18:53:37 +01:00
VMWareMouseDevice.h Kernel: Introduce the DeviceManagement singleton 2021-09-17 01:02:48 +03:00