Michal Marek napsal(a):
It's not zlib's fault, it's the way zlib is used by m-i-t: Without zlib support, each module is simply mmapped (and the mmapped elf image is queried for aliases, dependencies, etc. or loaded into kernel). Now because mmapping a compressed module is of no use, if zlib support is enabled, _all_ modules are copied into memory by gzread(). So the option is either to disable zlib support or to improve it not to do useless copies.
I fixed this the other day: mmap() is used in all cases, compressed modules are first unpacked into /tmp. This means that if the modules are not compressed, the memory usage of a depmod run will be reasonable. For compressed modules, depmod will need space for the uncompressed files in /tmp. In other words, the zlib feature still has its drawbacks, but at least it doesn't do any harm if not used. Michal -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org