Wednesday, July 29, 2009

Shared text segment

To decrease the amount of TLB thrashing, it would be very nice if all/most of the shared libraries (and ld.elf_so) could be loaded in such a way that all their .text sections reside in a single contiguous section of RAM that could be shared among all the processes in the system. The .data/.bss sections would live "far" from text (256MB).

The shared text should be mapped by a global TLB entry saving a lot of overhead.

No comments:

Post a Comment