From: Lucas De Marchi Date: Fri, 2 Dec 2011 16:49:57 +0000 (-0200) Subject: TODO: update tasks X-Git-Tag: v1~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3325cfc2635ee002740bf573b97441fdd2c86a3;p=thirdparty%2Fkmod.git TODO: update tasks --- diff --git a/TODO b/TODO index 72f4b7ac..9b19ff1c 100644 --- a/TODO +++ b/TODO @@ -5,7 +5,14 @@ Features: vector instead of a list. This way we could search in it by calling bsearch(). -* config: load on demand and provide a call to preload stuff +* config: load on demand + +* 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.