Date: Fri, 5 Apr 2002 04:53:50 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: current@freebsd.org Subject: Re: 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/ Message-ID: <20020405045116.F2040-100000@gamplex.bde.org> In-Reply-To: <200204041749.g34Hnng99475@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Apr 2002, Bruce Evans wrote: > 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 Tha invariants check in this (in userret()) failed for the first time 10 minutes after I committed it. I think this is harmless (due to a cached flag in ast()) but don't have time to check today. Turn off the check if it spams the console but signals appear to work despite this. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020405045116.F2040-100000>