Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
Hi,
> Module Name: src
> Committed By: chs
> Date: Wed Jul 7 01:30:38 UTC 2010
>
> Modified Files:
> ...
> ...
> ...
> cvs rdiff -u -r1.150 -r1.151 src/sys/kern/kern_lwp.c
> cvs rdiff -u -r1.167 -r1.168 src/sys/kern/kern_proc.c
> ...
I have added assert on proc_lock into proc_find(), but not proc_find_raw(),
because the later is for special cases, including DDB, where we do not hold
the locks. DDB would fire asserts now.
Also, from lwp_exit():
+ if ((l->l_pflag & LP_PIDLID) != 0 && l->l_lid != p->p_pid) {
+ proc_free_pid(l->l_lid);
+ }
The lid != pid check is a micro-optimisation for one-LWP case, right?
--
Mindaugas
Home |
Main Index |
Thread Index |
Old Index