Date: Fri, 2 Jan 2004 18:02:26 -0800 (PST) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/amd64/amd64 machdep.c src/sys/amd64/ia32 ia32_signal.c src/sys/i386/i386 machdep.c src/sys/i386/linux linux_sysvec.c src/sys/ia64/ia64... Message-ID: <200401030202.i0322QIo068547@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2004/01/02 18:02:26 PST FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/amd64/amd64 machdep.c sys/amd64/ia32 ia32_signal.c sys/i386/i386 machdep.c sys/i386/linux linux_sysvec.c sys/ia64/ia64 machdep.c sys/kern kern_fork.c kern_sig.c sys/pc98/i386 machdep.c sys/powerpc/powerpc machdep.c sys/sparc64/sparc64 machdep.c sys/sys proc.h Log: Make sigaltstack as per-threaded, because per-process sigaltstack state is useless for threaded programs, multiple threads can not share same stack. The alternative signal stack is private for thread, no lock is needed, the orignal P_ALTSTACK is now moved into td_pflags and renamed to TDP_ALTSTACK. For single thread or Linux clone() based threaded program, there is no semantic changed, because those programs only have one kernel thread in every process. Reviewed by: deischen, dfr Revision Changes Path 1.216 +22 -22 src/sys/alpha/alpha/machdep.c 1.602 +8 -8 src/sys/amd64/amd64/machdep.c 1.8 +12 -12 src/sys/amd64/ia32/ia32_signal.c 1.585 +22 -22 src/sys/i386/i386/machdep.c 1.129 +9 -9 src/sys/i386/linux/linux_sysvec.c 1.175 +8 -8 src/sys/ia64/ia64/machdep.c 1.209 +4 -1 src/sys/kern/kern_fork.c 1.264 +28 -37 src/sys/kern/kern_sig.c 1.332 +22 -22 src/sys/pc98/i386/machdep.c 1.65 +5 -5 src/sys/powerpc/powerpc/machdep.c 1.106 +5 -5 src/sys/sparc64/sparc64/machdep.c 1.363 +3 -3 src/sys/sys/proc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401030202.i0322QIo068547>