diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-09-10 16:38:41 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-09-10 16:38:41 +0200 |
| commit | c63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b (patch) | |
| tree | a39f38114423bd6068be6812c7e8322dda834499 /kernel/kapi/devices/device_registry.cpp | |
| parent | 3ce0197e99ecea7be66decc2c3c6f785497ef862 (diff) | |
| download | kernel-c63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b.tar.xz kernel-c63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b.zip | |
kapi/system: reduce panic buffer size
Previously, we allocated a 512-byte buffer for every call of the
formatted panic function. This was heavily increasing the stack size for
a number of functions.
We now don't print to a statically allocated buffer, but rather use the
iterator-based formatting facility and a proxy iterator with a small,
self-flushing buffer. This reduces that static overhead of the formatted
panic function to by almost 500 bytes, while increasing possible message
fidelity, since we are not longer arbitrarily limited by the buffer.
Diffstat (limited to 'kernel/kapi/devices/device_registry.cpp')
0 files changed, 0 insertions, 0 deletions
