kernfs: Avoid dynamic memory allocation for small write buffers
Most write buffers are rather small and can fit on the stack,
eliminating the need to allocate them dynamically. Reserve a 4 KiB
stack buffer for this purpose to avoid the overhead of dynamic
memory allocation.
Signed-off-by:
Sultan Alsawaf <sultan@kerneltoast.com>
Loading
Please register or sign in to comment