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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message