summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-11-05 02:04:44 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2012-11-05 02:04:44 -0200
commit8836ff24b49768f2b43c6472a9df227346fbfc83 (patch)
tree7774b21fbdf784d7a13a54544cfdd36e7c537dca
parent61c48db360c2147b54b92163152c5e4b931d4ff5 (diff)
downloadkmod-8836ff24b49768f2b43c6472a9df227346fbfc83.tar.gz
kmod-8836ff24b49768f2b43c6472a9df227346fbfc83.tar.bz2
kmod-8836ff24b49768f2b43c6472a9df227346fbfc83.zip
TODO: update file with tasks
-rw-r--r--TODO13
1 files changed, 3 insertions, 10 deletions
diff --git a/TODO b/TODO
index 0987c43..039913f 100644
--- a/TODO
+++ b/TODO
@@ -4,6 +4,8 @@ Features:
* testsuite:
- when fake delete_module() succeeds, remove its entry from /sys/module
+* unify logging functions of tools/{modprobe.c,depmod.c,...}
+
* review API, maybe unify all of these getters:
- kmod_module_version_get_symbol()
- kmod_module_version_get_crc()
@@ -13,16 +15,7 @@ Features:
- kmod_module_dependency_symbol_get_crc()
- kmod_module_versions_free_list()
- kmod_module_symbols_free_list()
- - kmod_module_dependency_symbols_free_list(
-
- Main reason for this is that they need to open and read the module to get
- this information. If module is compressed, that means uncompressing +
- allocating necessary space + deallocating for each of them. depmod uses most
- of these functions and in the end it uncompresses the module ~6x times more
- than needed, which makes depmod very slow if compared to module-init-tools.
-
- We might want to either cache the elf file within kmod_module or create
- another struct that the user ref()/unref().
+ - kmod_module_dependency_symbols_free_list()
* Stop using system() inside the library and use fork + exec instead