This is the mail archive of the libc-alpha@sources.redhat.com 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] Where to put arch-dependant locking in malloc/thread-m.h


On Fri, Sep 26, 2003 at 01:39:54PM -0000, wmglo@dent.med.uni-muenchen.de wrote:
> > The following patch fixes the issue, but I'm not content about it's
> > placement in malloc/thread-m.h. Any comments about where I might put
> > this in order to make maintenance easier?
> 
> Ok, I have become convinced it is best to move thread-m.h into
> sysdeps.  We should rename it, too (my suggestion: malloc-machine.h),
> and make sure that one can put e.g.
> 
> #define DEFAULT_MMAP_THRESHOLD (256*1024)
> 
> in there and have it reflected in malloc.
> 
> I'll send a patch for this tomorrow.

Thank you. Sounds like the best solution in this case.

c.


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