From 564cd8b67ec487fe090c8ead2fb93be91959985d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Mar 2003 06:28:45 +0000 Subject: Update. 2003-03-13 Ulrich Drepper * 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. --- nptl/sysdeps/i386/i686/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'nptl/sysdeps/i386') 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 -- cgit v1.2.3-70-g09d2