This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11431] consider madvise for ld.so


------- Additional Comments From drepper at redhat dot com  2010-04-04 02:27 -------
And exactly how should madvise be used?

Take into account that there are a large number of DSOs and that they are
sometimes used.  Most of the time only a small fraction of any DSO is used in a
program.  Using madvise to get the DSO loaded will likely waste a lot of resources.

I've been thinking about adding a special flag to system libraries so that at
least they can be handled this way.  But it is a bad idea to do this in general.

If you want to convince me try using a large number of programs using lots of
DSOs in an OS environment with limited memory.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]