summaryrefslogtreecommitdiff
path: root/AK/LogStream.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-10 16:24:01 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-10 16:33:47 +0100
commite58a600d52be5544cab0e770b372488e35a38811 (patch)
tree9d51e0ccc79450b223f4d631b3b2225576b83c13 /AK/LogStream.cpp
parent3dbb9c8448a23ad1405d415922b3b6e4e9bfe78b (diff)
downloadserenity-e58a600d52be5544cab0e770b372488e35a38811.zip
Kernel: Remove VLA usage in Ext2FS block traversal code
This was using up to 12KB of kernel stack in the triply indirect case and looks generally spooky. Let's just allocate a ByteBuffer for now and take the performance hit (of heap allocation). Longer term we can reorganize the code to reduce the majority of the heap churn.
Diffstat (limited to 'AK/LogStream.cpp')
0 files changed, 0 insertions, 0 deletions