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: [RFC][PATCH 0/2] Port of lock elision on z/Architecture


On Wed, Aug 07, 2013 at 09:59:41PM -0700, Andi Kleen wrote:
> OndÅej BÃlka <neleai@seznam.cz> writes:
> >>
> > Are there also other architectures that want to add lock elision?
> > From my perspective I would like not duplicate much code, at least for
> > user visible interface handling. Could be these bits be factored out?
> 
> I would prefer to keep the code separate, as the tuning strategies
> will not necessarily stay the same.

Well, even then we may have a lot of code duplication, but I'd
suggest to try the various implementations first and see what
tuning is necessary.  When we know the requirements for each
platform we can look at the code and decide which parts can be
moved to common code.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
IBM Germany


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