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:
parent
1208fc7d37
commit
38c8dc22cf
4 changed files with 2 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue