Date: Thu, 01 May 2003 17:23:07 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: RE: cvs commit: src/sys/kern kern_exit.c kern_fork.c kern_proc.c Message-ID: <XFMail.20030501172307.jhb@FreeBSD.org> In-Reply-To: <200305012116.h41LGckx092142@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01-May-2003 John Baldwin wrote: > 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. It also means we don't init and destroy process mutexes as often if we recycle proc structures. -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030501172307.jhb>