uclibc-ng: bump version from 1.0.6 to 1.0.8
[openwrt.git] / toolchain / uClibc / patches-0.9.33.2 / 990-no-stack-cache.patch
1 --- a/libpthread/nptl/allocatestack.c
2 +++ b/libpthread/nptl/allocatestack.c
3 @@ -100,7 +100,7 @@
4  /* Cache handling for not-yet free stacks.  */
5  
6  /* Maximum size in kB of cache.  */
7 -static size_t stack_cache_maxsize = 40 * 1024 * 1024; /* 40MiBi by default.  */
8 +static size_t stack_cache_maxsize = 0; /* embedded systems don't have enough ram for dirty stack caches */
9  static size_t stack_cache_actsize;
10  
11  /* Mutex protecting this variable.  */