kmod/tools
Lucas De Marchi 7062eca38b depmod: cache info_list in struct mod
The overall goal is to coalesce the accesses to a file that is the
backend of a module. This commit addresses the calls to
kmod_module_get_info(). Calling it earlier, while we are iterating the
modules allows us to free the struct kmod of each module much sooner. We
are still not freeing it since there are other places that must be
refactored first.

A nice side effect is that this commit reduces in ~33% the calls to
malloc(), giving a speedup of ~6% for cold caches (reproduced on only 1
laptop).
2012-10-30 03:24:25 -02:00
..
.gitignore Update .gitignore files 2012-02-05 02:15:20 -02:00
depmod.c depmod: cache info_list in struct mod 2012-10-30 03:24:25 -02:00
insmod.c Remove ifdef for building tools not bundled 2012-06-15 00:40:14 -03:00
kmod.c Update copyright 2012-01-09 00:41:07 -02:00
kmod.h Use #pragma once instead of #ifndef 2012-07-18 10:31:50 -03:00
lsmod.c Remove ifdef for building tools not bundled 2012-06-15 00:40:14 -03:00
modinfo.c build-sys: Remove --with-rootprefix option 2012-10-02 00:27:31 -03:00
modprobe.c build-sys: Remove --with-rootprefix option 2012-10-02 00:27:31 -03:00
rmmod.c rmmod: Deprecate --wait option 2012-10-17 18:43:17 -03:00