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<[email protected]>
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
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to