Date: Thu, 6 Jun 2002 22:47:35 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/powerpc/powerpc trap.c src/sys/sparc64/sparc64 trap.c Message-ID: <200206070547.g575lZc16867@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/06/06 22:47:35 PDT Modified files: sys/alpha/alpha trap.c sys/i386/i386 trap.c sys/ia64/ia64 trap.c sys/powerpc/powerpc trap.c sys/sparc64/sparc64 trap.c Log: - Fixup / remove obsolete comments. - ktrace no longer requires Giant so do ktrace syscall events before and after acquiring and releasing Giant, respectively. - For i386, ia32 syscalls on ia64, powerpc, and sparc64, get rid of the goto bad hack and instead use the model on ia64 and alpha were we skip the actual syscall invocation if error != 0. This fixes a bug where if we the copyin() of the arguments failed for a syscall that was not marked MP safe, we would try to release Giant when we had not acquired it. Revision Changes Path 1.94 +12 -16 src/sys/alpha/alpha/trap.c 1.224 +22 -34 src/sys/i386/i386/trap.c 1.55 +31 -41 src/sys/ia64/ia64/trap.c 1.30 +17 -23 src/sys/powerpc/powerpc/trap.c 1.38 +18 -24 src/sys/sparc64/sparc64/trap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206070547.g575lZc16867>