]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Use fread_unlocked
authorTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 17 Oct 2024 08:09:34 +0000 (10:09 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 29 Oct 2024 02:50:14 +0000 (21:50 -0500)
commitdaccf4613f1cd26a62b753726771f5c8d87e09e3
tree0510490d066ac803dcef130ff102cc9ca43f5a3a
parent0f6d92ad78fd11daa3fbabe0d53c3ea92f4ba87c
libkmod: Use fread_unlocked

This is in sync with read_char, which uses getc_unlocked. This and
previous FILE based index adjustments improved FILE based index dump
performance by 8 %.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/190
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-index.c