update TODO

This commit is contained in:
Gustavo Sverzut Barbieri 2011-12-10 13:32:27 -02:00
parent 27fdf63153
commit 7fe602b689
1 changed files with 2 additions and 24 deletions

26
TODO
View File

@ -10,31 +10,9 @@ Features:
* index: drop the "open(), seek(), read()" implementation and use another one
with mmap(). When lookup() is called and the file is not mmaped, mmap it.
* provide a kmod_preload_resources() so configs are parsed and files are mmaped
with MAP_POPULATE | MAP_LOCKED. Maybe it's a good idea to have a
kmod_unload_resources() too.
* kmod_module: create a mempool with live and recently de-allocated modules.
This way we don't have to create a new one, parse dependencies and whatnot.
Just pick the already created node.
* kmod_module: apply blacklist on module lookup. What's best? Return the whole
list and provide functions like kmod_module_filter_* or return the list
already filtered?
^-- investigate the best API
* insmod and rmmod with dependency handling. Maybe this should be done by the
binary, and it's sufficient to return only the lists from lookups.
^-- investigate the best API
* when preloading stuff, give the possibility to preload binary files. We need
to create alternative index_search* functions to operate on mmapped files.
Then on ctx creation we mmap all the files
* kmod_module: calculate fields on demand if not available:
- name
- path
- dependency
* index: check implementations in order to allocate less stuff. There some
malloc()s that could be avoided
* create test-mock library to be LD_PRELOA'ed before running the binaries
so we're able to create unit tests