cvs commit: src/sys/alpha/alpha trap.c src/sys/alpha/osf1 osf1_ioctl.c osf1_misc.c osf1_signal.c src/sys/amd64/amd64 trap.c src/sys/compat/linux linux_socket.c src/sys/compat/svr4 svr4_fcntl.c svr4_ioctl.c svr4_ipc.c svr4_misc.c svr4_signal.c ...

Robert Watson rwatson at FreeBSD.org
Wed Sep 28 00:03:04 PDT 2005


rwatson     2005-09-28 07:03:04 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      trap.c 
    sys/alpha/osf1       osf1_ioctl.c osf1_misc.c osf1_signal.c 
    sys/amd64/amd64      trap.c 
    sys/compat/linux     linux_socket.c 
    sys/compat/svr4      svr4_fcntl.c svr4_ioctl.c svr4_ipc.c 
                         svr4_misc.c svr4_signal.c svr4_stat.c 
                         svr4_stream.c svr4_termios.c svr4_ttold.c 
                         svr4_util.h 
    sys/gnu/fs/ext2fs    ext2_alloc.c 
    sys/i386/i386        trap.c vm86.c 
    sys/ia64/ia64        unaligned.c 
    sys/kern             imgact_elf.c 
    sys/ufs/ffs          ffs_alloc.c 
  Log:
  Back out alpha/alpha/trap.c:1.124, osf1_ioctl.c:1.14, osf1_misc.c:1.57,
  osf1_signal.c:1.41, amd64/amd64/trap.c:1.291, linux_socket.c:1.60,
  svr4_fcntl.c:1.36, svr4_ioctl.c:1.23, svr4_ipc.c:1.18, svr4_misc.c:1.81,
  svr4_signal.c:1.34, svr4_stat.c:1.21, svr4_stream.c:1.55,
  svr4_termios.c:1.13, svr4_ttold.c:1.15, svr4_util.h:1.10,
  ext2_alloc.c:1.43, i386/i386/trap.c:1.279, vm86.c:1.58,
  unaligned.c:1.12, imgact_elf.c:1.164, ffs_alloc.c:1.133:
  
  Now that Giant is acquired in uprintf() and tprintf(), the caller no
  longer leads to acquire Giant unless it also holds another mutex that
  would generate a lock order reversal when calling into these functions.
  Specifically not backed out is the acquisition of Giant in nfs_socket.c
  and rpcclnt.c, where local mutexes are held and would otherwise violate
  the lock order with Giant.
  
  This aligns this code more with the eventual locking of ttys.
  
  Suggested by:   bde
  
  Revision  Changes    Path
  1.125     +0 -2      src/sys/alpha/alpha/trap.c
  1.15      +0 -4      src/sys/alpha/osf1/osf1_ioctl.c
  1.58      +0 -4      src/sys/alpha/osf1/osf1_misc.c
  1.42      +6 -24     src/sys/alpha/osf1/osf1_signal.c
  1.293     +0 -2      src/sys/amd64/amd64/trap.c
  1.61      +0 -2      src/sys/compat/linux/linux_socket.c
  1.37      +2 -4      src/sys/compat/svr4/svr4_fcntl.c
  1.24      +0 -2      src/sys/compat/svr4/svr4_ioctl.c
  1.19      +0 -2      src/sys/compat/svr4/svr4_ipc.c
  1.82      +0 -2      src/sys/compat/svr4/svr4_misc.c
  1.35      +1 -4      src/sys/compat/svr4/svr4_signal.c
  1.22      +0 -2      src/sys/compat/svr4/svr4_stat.c
  1.56      +2 -26     src/sys/compat/svr4/svr4_stream.c
  1.14      +0 -9      src/sys/compat/svr4/svr4_termios.c
  1.16      +0 -24     src/sys/compat/svr4/svr4_ttold.c
  1.11      +1 -4      src/sys/compat/svr4/svr4_util.h
  1.44      +0 -2      src/sys/gnu/fs/ext2fs/ext2_alloc.c
  1.280     +0 -2      src/sys/i386/i386/trap.c
  1.59      +0 -2      src/sys/i386/i386/vm86.c
  1.13      +0 -4      src/sys/ia64/ia64/unaligned.c
  1.165     +0 -6      src/sys/kern/imgact_elf.c
  1.134     +0 -6      src/sys/ufs/ffs/ffs_alloc.c


More information about the cvs-src mailing list