On Sat, Nov 11, 2006 at 04:16:19PM +0000, Paul Brook wrote: > I don't know how much of the memory allocated is global readonly data (ie. > suitable for sharing between threads). I wouldn't be surprised if it's a > relatively small fraction.
I don't have numbers on global readonly, but in typical compilation most of the memory allocated is definitely global. Past a certain point much of that is probably readonly. However, it would take some clever interfaces and discipline to _guarantee_ that any particular global bit was shareable. -- Daniel Jacobowitz CodeSourcery