Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92f6536a authored by Sultan Alsawaf's avatar Sultan Alsawaf Committed by Razziell
Browse files

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 1 KiB
stack buffer for this purpose to avoid the overhead of dynamic
memory allocation.

Signed-off-by: default avatarSultan Alsawaf <sultan@kerneltoast.com>
parent 8fabf5d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment