RFE: Add mapfile-vers to kernel modules
RFE: The kernel should have mapfiles per module.
Basically this has the following goals:
- reduce the number of public symbols visible to other modules, e.g. avoid namespace clashes
- reduce the load time of modules
- reduce the time to find a symbol in the global kernel space
- reduce system startup time
- reduce memory usage
Updated by Garrett D'Amore about 11 years ago
- Priority changed from Normal to Low
Not all kernel modules need mapfiles -- because they use static symbols and export properly only _init, _fini, and _info. (See iprb for an example of how this is done...
Rather than filing a massive bug against e.g. the whole darn kernel, which will never get resolved, file it against specific drivers or modules. Multiple bugs please.
There are kernel subsystems that already have mapfiles. See usr/src/uts/common/io/sdcard/impl/mapfile for an example.
We need to identify other examples that could benefit from this example, but please file specific bugs, rather than mondo umbrella bugs like this that nobody will follow up on.
Probably we should just "close" this bug.
Updated by Roland Mainz about 11 years ago
Erm... Garrett, this bug is the "meta" bug to mark all other module-specific bugs as dependicy to this one to track such issues. That's why I filed this one: To describe the idea and then file individual bugs.
Offtopic: The issue was/is that expressing bug dependicies in Redmine is a real PAIN, IMHO rendering this bugtracker virtually useless (I can live with that by using paper+pencil but others won't see what I think+do and what my ideas+plans+jobs are... but that's another discussion about issues with the current bugtracker).