This is the mail archive of the libc-alpha@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]

Re: TSX lock elision for glibc v2


> In malloc as I described in previous thread locking seem bottleneck.
> Unless with lock elision it would take 10 cycles or so then implementations that 
> avoid locks/atomic are better.

Lock elision is mainly useful for contended locks. It's unlikely to help
with an uncontended lock.

-Andi


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