From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 18 Apr 2009 19:05:07 +0200 From: Enrico Weigelt To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20090418170506.GA4722@nibiru.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [9fans] automatic page sharing Topicbox-Message-UUID: e6944e4a-ead4-11e9-9d60-3106f5b1d025 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: info@metux.de skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------