[parisc-linux] Re: [RFC] Where to put arch-dependant locking in malloc/thread-m.h

Carlos O'Donell carlos@baldric.uwo.ca
Fri, 26 Sep 2003 10:24:08 -0400


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.