[RFC] Where to put arch-dependant locking in malloc/thread-m.h
wmglo@dent.med.uni-muenchen.de
wmglo@dent.med.uni-muenchen.de
Fri Sep 26 13:39:00 GMT 2003
Hi,
> 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.
Regards,
Wolfram.
More information about the Libc-alpha
mailing list