Date: Mon, 7 Jun 1999 13:37:33 -0700 (PDT) From: Mike Smith <msmith@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c kern_exit.c Message-ID: <199906072037.NAA51507@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1999/06/07 13:37:33 PDT
Modified files:
sys/kern kern_descrip.c kern_exit.c
Log:
From the submitter:
- this causes POSIX locking to use the thread group leader
(p->p_leader) as the locking thread for all advisory locks.
In non-kernel-threaded code p->p_leader == p, so this will have
no effect.
This results in (more) correct POSIX threaded flock-ing semantics.
It also prevents the leader from exiting before any of the children.
(so that p->p_leader will never be stale) in exit1().
We have been running this patch for over a month now in our lab
under load and at customer sites.
Submitted by: John Plevyak <jplevyak@inktomi.com>
Revision Changes Path
1.64 +6 -6 src/sys/kern/kern_descrip.c
1.81 +12 -15 src/sys/kern/kern_exit.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906072037.NAA51507>
