On Wed, 15 May 2024 17:24:10 +0200, Ahmad Fatoum wrote:
> There's no reason to maintain two allocations per chunk, so just collect
> them both into the same calloc call.
>
> No functional change.
>
>
Applied, thanks!
[1/1] fs: ramfs: allocate once instead of twice per ramfs chunk
https
There's no reason to maintain two allocations per chunk, so just collect
them both into the same calloc call.
No functional change.
Signed-off-by: Ahmad Fatoum
---
I didn't test thoroughly what performance improvement this might bring,
but it looks like a sensible thing to do.
---
fs/ramfs.c |