mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-29 19:04:16 +00:00
If strbuf is used (depmod, modprobe -c) then strbuf_reserve_extra is performance critical. This reduces amount of instructions for modprobe -c by around 10 %, the total instruction count for depmod by 1 % (majority is within reading module files). Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org> Link: https://github.com/kmod-project/kmod/pull/296 Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>