Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi) wrote:
> >> > cvs rdiff -u -r1.158 -r1.159 src/sys/kern/kern_proc.c
> >> 
> >> this part of the change looks wrong to me.
> >> 
> >> <...>
> > 
> > Do you mean KSTACK_CHECK_MAGIC case?  It gets included via
> > machine/proc.h .
> 
> no, the KASSERT part.  l_addr != uvm_lwp_getuarea.

True, l_addr is PCB now.  But the goal of that KASSERT is to check that
MD code has set the uarea address for lwp0 i.e. called uvm_lwp_setuarea().
So, logically, we are interested in "uarea address" != NULL.

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index