This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Excessive calls to iterate_phdr during exception handling


On 05/28/2013 08:09 PM, Václav Zeman wrote:

If the bottleneck is really in glibc, then you should probably ask them
to fix it. Could the mutex be changed rwlock instead?

rwlocks don't eliminate hardware contention, so I doubt they'd be a win here.

You'd need brlocks or some RCU-like approach. But it seems a faster approach is already available, so this is somewhat besides the point.


--
Florian Weimer / Red Hat Product Security Team


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