diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-14 06:28:45 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-14 06:28:45 +0000 |
commit | 564cd8b67ec487fe090c8ead2fb93be91959985d (patch) | |
tree | a45ad932a67e2684648c3065026c66166006827e /nptl | |
parent | 59b28a2e4b51c293025c157c62bfc27b633aee19 (diff) | |
download | glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.tar glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.tar.gz glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.tar.bz2 glibc-564cd8b67ec487fe090c8ead2fb93be91959985d.zip |
Update.
2003-03-13 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c: Recognize POSIX2_SYMLINKS.
* sysdeps/generic/bits/confname.h: Define _PC_2_SYMLINKS.
* sysdeps/posix/fpathconf.c: Handle _PC_2_SYMLINKS.
* sysdeps/posix/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.c: Likewise.
* sysdeps/unix/sysv/linux/pathconf.h: Define statfs_symlinks.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define some more magic
words.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 8 | ||||
-rw-r--r-- | nptl/sysdeps/i386/i686/Makefile | 13 |
2 files changed, 19 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 37464db175..c24573a2c4 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,11 @@ +2003-03-13 Ulrich Drepper <drepper@redhat.com> + + * allocatestack.c (allocate_stack): If MULTI_PAGE_ALIASING is defined + and the size of the stack which must be allocated is a multiple, + allocate one more page. + * sysdeps/i386/i686/Makefile: Don't define COLORING_INCREMENT, but + MULTI_PAGE_ALIASING. + 2003-03-13 Roland McGrath <roland@redhat.com> * pthread_create.c (start_thread): Set EXITING_BIT after the diff --git a/nptl/sysdeps/i386/i686/Makefile b/nptl/sysdeps/i386/i686/Makefile index 493a7ec49f..137c0a2f0c 100644 --- a/nptl/sysdeps/i386/i686/Makefile +++ b/nptl/sysdeps/i386/i686/Makefile @@ -18,6 +18,15 @@ # 02111-1307 USA. ifeq ($(subdir),nptl) -# For P4 processors we color the stack in 128 bit steps. -CFLAGS-pthread_create.c += -DCOLORING_INCREMENT=128 +# It turns out that stack coloring is in general not good on P4s. Some +# applications will benefit. We will probably have a configuration option +# at some point. Enabling coloring can be done with +# +# -DCOLORING_INCREMENT=128 +# +# What is useful is to avoid the 64k aliasing problem which reliably +# happens if all stacks use sizes which are a multiple of 64k. Tell +# the stack allocator to disturb this by allocation one more page if +# necessary. +CFLAGS-pthread_create.c += -DMULTI_PAGE_ALIASING=65536 endif |