diff options
author | Erik Hovland <erik@hovland.org> | 2006-05-05 21:07:56 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-05 21:07:56 +0000 |
commit | dfe7b6ae642aaee913b9cbe226fbf91a41c84689 (patch) | |
tree | 524e987b6f255327a9275fca81e5cc8296cef2e1 /packages | |
parent | 6fa49c267c163f1a9b5d39819473aff841a691ad (diff) | |
download | openembedded-dfe7b6ae642aaee913b9cbe226fbf91a41c84689.tar.gz |
This commit addresses bug 650 in the familiar bugzilla database:
http://handhelds.org/~bugzilla/show_bug.cgi?id=650
It changes the size of the glibc mmap_threshold to 32kiB to make
mmap behave reasonably on embedded devices.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/glibc/files/mmap_threshold-bug-650-fix.patch | 11 | ||||
-rw-r--r-- | packages/glibc/glibc_2.3.5+cvs20050627.bb | 3 |
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/glibc/files/mmap_threshold-bug-650-fix.patch b/packages/glibc/files/mmap_threshold-bug-650-fix.patch new file mode 100644 index 0000000000..b9f05dc31f --- /dev/null +++ b/packages/glibc/files/mmap_threshold-bug-650-fix.patch @@ -0,0 +1,11 @@ +--- libc/malloc/malloc.c.orig 2006-05-05 13:19:09.683165034 -0700 ++++ libc/malloc/malloc.c 2006-05-05 13:19:32.990818694 -0700 +@@ -1449,7 +1449,7 @@ + #define M_MMAP_THRESHOLD -3 + + #ifndef DEFAULT_MMAP_THRESHOLD +-#define DEFAULT_MMAP_THRESHOLD (128 * 1024) ++#define DEFAULT_MMAP_THRESHOLD (32 * 1024) + #endif + + /* diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb index 9c28833916..569569858c 100644 --- a/packages/glibc/glibc_2.3.5+cvs20050627.bb +++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb @@ -7,7 +7,7 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5" CVSDATE = "20050627" -PR = "r3" +PR = "r4" GLIBC_ADDONS ?= "ports,linuxthreads" GLIBC_EXTRA_OECONF ?= "" @@ -54,6 +54,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat file://fhs-linux-paths.patch;patch=1 \ file://dl-cache-libcmp.patch;patch=1 \ file://ldsocache-varrun.patch;patch=1 \ + file://mmap_threshold-bug-650-fix.patch;patch=0 \ file://etc/ld.so.conf \ file://generate-supported.mk" |