Linuxulator: Unbreak Mozilla, Firefox and RealPlayer

John Baldwin jhb at freebsd.org
Tue Aug 29 20:49:24 UTC 2006


On Saturday 26 August 2006 04:37, Intron is my alias on the Internet wrote:
> This problem has confused me for a long time.
> 
> The lock allproc_lock is more conservative than either p2->p_mtx or
> proctree_lock. It is the real protector of process tree.

Not quite.  allproc_lock protects allproc and zombproc and p_list inside
of each process.  proctree_lock protects the parent-child relationships
as as process group and session pointers and lists.  allproc_lock also
protects a few global variables related to PID allocation.

-- 
John Baldwin


More information about the freebsd-emulation mailing list