Date: Sat, 5 Apr 2003 23:47:34 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: DavidXu <davidxu@freebsd.org> Cc: freebsd-threads@freebsd.org Subject: Re: PS_BLOCKED Message-ID: <Pine.BSF.4.21.0304052346370.22177-100000@InterJet.elischer.org> In-Reply-To: <001401c2fbeb$6d496c90$0701a8c0@xu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Apr 2003, DavidXu wrote: > Daniel, > > I saw your code in thr_kern.c assumes that a blocked thread > in kernel will always be returned in same upcall(your userland > kse)? However, current kernel will returned this context in one > of upcall in the same ksegrp, so there is race in your code, > I think this may be a kernel bug but not yours, this does not > very respects original paper. it has always been said that a blocked thread will have its context returned on any KSE(upcall) in that group. (the next one) > > > David Xu >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0304052346370.22177-100000>