From owner-cvs-all@FreeBSD.ORG Tue May 13 13:36:03 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF6337B401; Tue, 13 May 2003 13:36:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 635BE43F85; Tue, 13 May 2003 13:36:03 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4DKa30U045051; Tue, 13 May 2003 13:36:03 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4DKa2rL045050; Tue, 13 May 2003 13:36:02 -0700 (PDT) Message-Id: <200305132036.h4DKa2rL045050@repoman.freebsd.org> From: John Baldwin Date: Tue, 13 May 2003 13:36:02 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/alpha/osf1 osf1_signal.c src/sys/amd64/amd64 machdep.c src/sys/compat/linprocfs linprocfs.c src/sys/compat/svr4 svr4_filio.c svr4_misc.c src/sys/i386/i386 machdep.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 20:36:04 -0000 jhb 2003/05/13 13:36:02 PDT FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/alpha/osf1 osf1_signal.c sys/amd64/amd64 machdep.c sys/compat/linprocfs linprocfs.c sys/compat/svr4 svr4_filio.c svr4_misc.c sys/i386/i386 machdep.c sys/i386/linux linux_sysvec.c sys/i386/svr4 svr4_machdep.c sys/ia64/ia64 machdep.c sys/kern init_main.c kern_condvar.c kern_exec.c kern_exit.c kern_fork.c kern_kthread.c kern_proc.c kern_sig.c kern_synch.c subr_trap.c tty.c tty_pty.c sys/netncp ncp_ncp.c sys/netsmb smb_subr.c sys/nfsclient nfs_socket.c sys/pc98/i386 machdep.c sys/powerpc/powerpc machdep.c sys/sparc64/sparc64 machdep.c sys/sys proc.h signalvar.h user.h sys/vm vm_glue.c Log: - Merge struct procsig with struct sigacts. - Move struct sigacts out of the u-area and malloc() it using the M_SUBPROC malloc bucket. - Add a small sigacts_*() API for managing sigacts structures: sigacts_alloc(), sigacts_free(), sigacts_copy(), sigacts_share(), and sigacts_shared(). - Remove the p_sigignore, p_sigacts, and p_sigcatch macros. - Add a mutex to struct sigacts that protects all the members of the struct. - Add sigacts locking. - Remove Giant from nosys(), kill(), killpg(), and kern_sigaction() now that sigacts is locked. - Several in-kernel functions such as psignal(), tdsignal(), trapsignal(), and thread_stopped() are now MP safe. Reviewed by: arch@ Approved by: re (rwatson) Revision Changes Path 1.202 +15 -5 src/sys/alpha/alpha/machdep.c 1.33 +3 -0 src/sys/alpha/osf1/osf1_signal.c 1.576 +4 -3 src/sys/amd64/amd64/machdep.c 1.65 +6 -2 src/sys/compat/linprocfs/linprocfs.c 1.28 +13 -2 src/sys/compat/svr4/svr4_filio.c 1.63 +2 -6 src/sys/compat/svr4/svr4_misc.c 1.564 +12 -9 src/sys/i386/i386/machdep.c 1.123 +13 -3 src/sys/i386/linux/linux_sysvec.c 1.32 +3 -0 src/sys/i386/svr4/svr4_machdep.c 1.131 +4 -1 src/sys/ia64/ia64/machdep.c 1.231 +4 -7 src/sys/kern/init_main.c 1.41 +6 -0 src/sys/kern/kern_condvar.c 1.219 +10 -15 src/sys/kern/kern_exec.c 1.214 +9 -15 src/sys/kern/kern_exit.c 1.198 +7 -31 src/sys/kern/kern_fork.c 1.31 +3 -1 src/sys/kern/kern_kthread.c 1.186 +7 -3 src/sys/kern/kern_proc.c 1.238 +161 -81 src/sys/kern/kern_sig.c 1.222 +4 -0 src/sys/kern/kern_synch.c 1.254 +2 -0 src/sys/kern/subr_trap.c 1.200 +2 -2 src/sys/kern/tty.c 1.108 +1 -1 src/sys/kern/tty_pty.c 1.16 +3 -1 src/sys/netncp/ncp_ncp.c 1.16 +3 -1 src/sys/netsmb/smb_subr.c 1.98 +3 -1 src/sys/nfsclient/nfs_socket.c 1.317 +12 -9 src/sys/pc98/i386/machdep.c 1.57 +5 -4 src/sys/powerpc/powerpc/machdep.c 1.94 +4 -0 src/sys/sparc64/sparc64/machdep.c 1.328 +2 -16 src/sys/sys/proc.h 1.61 +23 -4 src/sys/sys/signalvar.h 1.53 +0 -1 src/sys/sys/user.h 1.172 +1 -11 src/sys/vm/vm_glue.c