1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

Kernel: Remove unused KMALLOC_DEBUG_LARGE_ALLOCATIONS mode

This was a thing back when the system was so little that any kernel
allocation above 1 MiB was basically guaranteed to be a bug. :^)
This commit is contained in:
Andreas Kling 2021-03-04 11:13:17 +01:00
parent 1208fc7d37
commit 38c8dc22cf
4 changed files with 2 additions and 19 deletions

View file

@ -236,7 +236,7 @@ void* kmalloc_eternal(size_t size)
return ptr;
}
void* kmalloc_impl(size_t size)
void* kmalloc(size_t size)
{
ScopedSpinLock lock(s_lock);
++g_kmalloc_call_count;