summaryrefslogtreecommitdiff
path: root/AK/String.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-11 15:26:02 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-11 15:28:42 +0100
commitb1e0e2ad4aba7cb2200bb7e1bc318655d45099f8 (patch)
tree26012bd1d507094c51970f4ee9ac5508caaec65e /AK/String.h
parenteb1ca965c756f6c0670db5fa1d747e72491f0699 (diff)
downloadserenity-b1e0e2ad4aba7cb2200bb7e1bc318655d45099f8.zip
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.
Diffstat (limited to 'AK/String.h')
0 files changed, 0 insertions, 0 deletions