From owner-cvs-all Thu Jun 6 22:47:43 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 DAF7637B405; Thu, 6 Jun 2002 22:47:35 -0700 (PDT) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g575lZc16867; Thu, 6 Jun 2002 22:47:35 -0700 (PDT) (envelope-from jhb) Message-Id: <200206070547.g575lZc16867@freefall.freebsd.org> From: John Baldwin Date: Thu, 6 Jun 2002 22:47:35 -0700 (PDT) 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 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 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