y...@mwd.biglobe.ne.jp (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