[haiku-commits] Re: r39439 - in haiku/branches/developer/bonefish/weak-symbols/src/system/runtime_loader: . arch/m68k arch/ppc arch/x86

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 16 Nov 2010 11:13:03 +0100

Am 16.11.2010 00:15, schrieb François Revol:
Le 15 nov. 2010 à 22:12, ingo_weinhold@xxxxxx a écrit :
Implemented a simple caching mechanism for symbol resolutions during the image
relocation. The cache consists of an array the same size as the image's symbol
table. After looking up a referenced symbol we store its value in the cache so
that we don't have to look it up again.
Idea blantantly stolen from FreeBSD.

Hmm more caches, I suspect it's this caching inflation that made Haiku not able 
to boot anymore with 40MB as it used to ;-)

Don't know what other caches you have in mind, maybe the IOCache for CD-ROM media? That one is run-time enabled if there is enough memory at all. I am sure this one could be as well. I would be surprised if FreeBSD is unable to boot in 40 MB, and that's where the idea is taken from. I for one highly appreciate Ingo's optimizations, and considering he is the one who improved the virtual memory system so much for low memory systems, he must be knowing what he is doing. :-)

Best regards,
-Stephan


Other related posts: