Hi folks,
some time ago, we had several discussions about shared libraries, mmap(), etc. One of the major arguments for shared libraries is to share code pages between processes - and the traditional *nix approach to do so is mmap() (at least on the systems I know). Assuming statically linked-in libraries are properly aligned, we'll have lots of equal pages in the system, so the kernel could find and automatically map them together. What do you think about this approach ? Would it be hard to implement this ? cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ cellphone: +49 174 7066481 email: i...@metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------