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: [PATCH 0/3] Improve ARM atomic performance for malloc


On Fri, 3 Oct 2014, Will Newton wrote:

> The resulting atomic.h is hopefully somewhere close to a generic
> implementation based on the gcc intrinsics so could potentially
> be used as a base for a generic header.

That suggests to me that the starting point should be setting up a generic 
header that can be used for multiple architectures and making the ARM 
header inherit from it in the case where the relevant compiler support is 
available, rather than putting all this generic code in an ARM header.  
(And in turn, the starting point in the generic header could be the 
particular operations for which more or less generic code already exists 
in the ARM header, with other operations added to it later.)

-- 
Joseph S. Myers
joseph@codesourcery.com


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