mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
Kernel: Suppress logging during kmalloc heap expansion
The system is extremely sensitive to heap allocations during heap expansion. This was causing frequent OOM panics under various loads. Work around the issue for now by putting the logging behind KMALLOC_DEBUG. Ideally dmesgln() & friends would not reqiure any heap allocations, but we're not there right now. Fixes #5724.
This commit is contained in:
parent
eb1ca965c7
commit
b1e0e2ad4a
2 changed files with 30 additions and 9 deletions
|
@ -146,6 +146,10 @@
|
|||
#cmakedefine01 KEYBOARD_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef KMALLOC_DEBUG
|
||||
#cmakedefine01 KMALLOC_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef LOCAL_SOCKET_DEBUG
|
||||
#cmakedefine01 LOCAL_SOCKET_DEBUG
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue