This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11431] New: consider madvise for ld.so
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Mar 2010 14:33:26 -0000
- Subject: [Bug libc/11431] New: consider madvise for ld.so
- Reply-to: sourceware-bugzilla at sourceware dot org
Over the years, there have been several suggestions that
ld.so use madvise(...WILLNEED) after mmapping a DT_NEEDED
shared library to encourage more aggressive prefetching,
which has been measured to help with certain large libraries
such as firefox's. suse carries a glibc patch for this, and
other projects have hacks in them to approximate this policy.
After a brief bugzilla/google search, I haven't heard any
official disposition of this heuristic. If it is known to be
a bad idea, perhaps we can record the reasons for that here.
--
Summary: consider madvise for ld.so
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: fche at redhat dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11431
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.