Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 14:16:38 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_proc.c
Message-ID:  <200305012116.h41LGckx092142@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2003/05/01 14:16:38 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             kern_exit.c kern_fork.c kern_proc.c 
  Log:
  Initialize and destroy the struct proc mutex in the proc zone's init and
  fini routines instead of in fork() and wait().  This has the nice side
  benefit that the proc lock of any process on the allproc list is always
  valid and sched_lock doesn't have to be used to test against PRS_NEW
  anymore.
  
  Revision  Changes    Path
  1.213     +0 -1      src/sys/kern/kern_exit.c
  1.197     +3 -4      src/sys/kern/kern_fork.c
  1.185     +3 -0      src/sys/kern/kern_proc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305012116.h41LGckx092142>