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 ...

John Baldwin jhb at FreeBSD.org
Tue May 13 13:36:04 PDT 2003


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


More information about the cvs-all mailing list