UCLIBC_UCLINUX_BROKEN_MUNMAP

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Mar 11 20:34:15 UTC 2011


Khem Raj <raj.khem at gmail.com> wrote:

On 3/9/2011 4:28 AM, Bernd Schmidt wrote: > I propose the following patch, which changes the default for > UCLIBC_UCLINUX_BROKEN_MUNMAP. That option changes malloc behaviour for > nommu systems to match munmap and mmap calls exactly, which introduces > extra overhead. Also, when I was at Analog, we've had a fair amount of > trouble making it work in the presence of threads. > yes your patch seems ok to me > The problem this is trying to work around has been fixed in the kernel > since (I think) > > commit 8feae13110d60cc6287afabc2887366b0eb226c2 > Author: David Howells<dhowells at redhat.com> > Date: Thu Jan 8 12:04:47 2009 +0000 > > NOMMU: Make VMAs per MM as for MMU-mode linux > > which should mean that it was in 2.6.29. > > (I can't seem to make the config system ask about the option; it always > gets the default value no matter what I do...) > > > Bernd > > > >_____________________________________________
> uClibc mailing list > uClibc at uclibc.org > http://lists.busybox.net/mailman/listinfo/uclibc_____________________________________________
uClibc mailing list uClibc at uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc 


Hi,

Can we deduce that off the kernel-version (I.e. via an automagic knob in kernel_features.h)?


More information about the uClibc mailing list