aboutsummaryrefslogtreecommitdiff
path: root/docs/guides
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-09-10 16:38:41 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-09-10 16:38:41 +0200
commitc63a0f8e7ed7a2d88cb24a46a6fd8e409f35756b (patch)
treea39f38114423bd6068be6812c7e8322dda834499 /docs/guides
parent3ce0197e99ecea7be66decc2c3c6f785497ef862 (diff)
downloadkernel-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 'docs/guides')
0 files changed, 0 insertions, 0 deletions