cvs commit: src/sys/kern kern_exec.c kern_exit.c kern_fork.c kern_thread.c subr_trap.c syscalls.master

Peter Wemm peter at FreeBSD.org
Sat Mar 13 14:31:40 PST 2004


peter       2004/03/13 14:31:39 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exec.c kern_exit.c kern_fork.c 
                         kern_thread.c subr_trap.c syscalls.master 
  Log:
  Push Giant down a little further:
  - no longer serialize on Giant for thread_single*() and family in fork,
    exit and exec
  - thread_wait() is mpsafe, assert no Giant
  - reduce scope of Giant in exit to not cover thread_wait and just do
    vm_waitproc().
  - assert that thread_single() family are not called with Giant
  - remove the DROP/PICKUP_GIANT macros from thread_single() family
  - assert that thread_suspend_check() s not called with Giant
  - remove manual drop_giant hack in thread_suspend_check since we know it
    isn't held.
  - remove the DROP/PICKUP_GIANT macros from thread_suspend_check() family
  - mark kse_create() mpsafe
  
  Revision  Changes    Path
  1.239     +0 -2      src/sys/kern/kern_exec.c
  1.225     +2 -5      src/sys/kern/kern_exit.c
  1.222     +0 -3      src/sys/kern/kern_fork.c
  1.173     +5 -8      src/sys/kern/kern_thread.c
  1.265     +1 -2      src/sys/kern/subr_trap.c
  1.167     +1 -1      src/sys/kern/syscalls.master


More information about the cvs-src mailing list