diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-06 18:42:15 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-06 18:56:51 +0200 |
commit | 69b9b2888cea47393461799746e80a04bdcae4d1 (patch) | |
tree | b0acdc55359cb9ef7adf2201d76346a11b1c93b3 /Kernel/FileSystem/SysFS.cpp | |
parent | 9db8a142648e43ad56f234c4e9eeeeae92a348ae (diff) | |
download | serenity-69b9b2888cea47393461799746e80a04bdcae4d1.zip |
Kernel: Don't allocate so much when generating coredumps
Instead of creating a bunch of ByteBuffers and concatenating them to
generate the "notes" segment, we now simply create a KBufferBuilder
and tell each of the notes generator helpers to write into the builder.
This allows the code to flow more naturally, with some bonus additional
error propagation. :^)
Diffstat (limited to 'Kernel/FileSystem/SysFS.cpp')
0 files changed, 0 insertions, 0 deletions