Messages in this thread | | | Date | Wed, 16 Oct 2002 10:27:07 +0200 (CEST) | From | Ingo Molnar <> | Subject | Re: [patch] mmap-speedup-2.5.42-C3 |
| |
On Wed, 16 Oct 2002, Jakub Jelinek wrote:
> Libraries mapped by dynamic linker are mapped without MAP_FIXED and > unless you use prelinking, with 0 virtual address, ie. they all end up > above 1GB. And 99% of libraries uses different protections, for the > read-only and read-write segment.
right - only the bss (brk-allocated) ones are below 1GB it appears. I did a quick check on a KDE app and 3 mappings were below 1GB, and 116(!) mappings were above 1GB. And even if it wasnt for the different protections, they use different files to map to so they have to be in different vmas, no matter what.
i'm wondering about prelinking though - wont that reduce the number of mappings radically?
in any case, doing a test of KDE's profile with and without the patch applied sounds like a good idea.
Ingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |