From owner-cvs-all Thu Apr 4 9:50:15 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 52ACC37B421; Thu, 4 Apr 2002 09:49:49 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34Hnng99475; Thu, 4 Apr 2002 09:49:49 -0800 (PST) (envelope-from bde) Message-Id: <200204041749.g34Hnng99475@freefall.freebsd.org> From: Bruce Evans Date: Thu, 4 Apr 2002 09:49:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/alpha/osf1 osf1_signal.c src/sys/coda coda_psdev.c src/sys/compat/linux linux_signal.c src/sys/compat/svr4 svr4_signal.c src/sys/i386/i386 machdep.c src/sys/i386/ibcs2 ibcs2_signal.c src/sys/i386/linux ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG bde 2002/04/04 09:49:49 PST Modified files: sys/alpha/alpha machdep.c sys/alpha/osf1 osf1_signal.c sys/coda coda_psdev.c sys/compat/linux linux_signal.c sys/compat/svr4 svr4_signal.c sys/i386/i386 machdep.c sys/i386/ibcs2 ibcs2_signal.c sys/i386/linux linux_sysvec.c sys/i386/svr4 svr4_machdep.c sys/ia64/ia64 machdep.c sys/kern kern_sig.c subr_trap.c sys/pc98/i386 machdep.c sys/sparc64/sparc64 machdep.c sys/sys proc.h signalvar.h Log: Moved signal handling and rescheduling from userret() to ast() so that they aren't in the usual path of execution for syscalls and traps. The main complication for this is that we have to set flags to control ast() everywhere that changes the signal mask. Avoid locking in userret() in most of the remaining cases. Submitted by: luoqi (first part only, long ago, reorganized by me) Reminded by: dillon Revision Changes Path 1.172 +2 -0 src/sys/alpha/alpha/machdep.c 1.16 +3 -0 src/sys/alpha/osf1/osf1_signal.c 1.22 +1 -0 src/sys/coda/coda_psdev.c 1.33 +4 -1 src/sys/compat/linux/linux_signal.c 1.18 +2 -0 src/sys/compat/svr4/svr4_signal.c 1.511 +2 -0 src/sys/i386/i386/machdep.c 1.21 +3 -0 src/sys/i386/ibcs2/ibcs2_signal.c 1.99 +2 -0 src/sys/i386/linux/linux_sysvec.c 1.26 +1 -0 src/sys/i386/svr4/svr4_machdep.c 1.90 +1 -0 src/sys/ia64/ia64/machdep.c 1.154 +25 -3 src/sys/kern/kern_sig.c 1.215 +46 -22 src/sys/kern/subr_trap.c 1.274 +2 -0 src/sys/pc98/i386/machdep.c 1.46 +1 -0 src/sys/sparc64/sparc64/machdep.c 1.215 +1 -9 src/sys/sys/proc.h 1.49 +1 -0 src/sys/sys/signalvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message