Date: Fri, 18 Apr 2003 14:09:23 +0800 From: "David Xu" <davidxu@freebsd.org> To: "Juli Mallett" <jmallett@FreeBSD.org> Cc: freebsd-threads@freebsd.org Subject: Re: libpthread patch Message-ID: <003d01c30571$0edb1cf0$f001a8c0@davidw2k> References: <Pine.GSO.4.10.10304180111270.25495-100000@pcnet1.pcnet.com> <002f01c3056f$6d9b7840$f001a8c0@davidw2k> <20030418010435.A6251@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=20 From: "Juli Mallett" <jmallett@FreeBSD.org> To: "David Xu" <davidxu@freebsd.org> Cc: "Daniel Eischen" <eischen@pcnet1.pcnet.com>; = <freebsd-threads@freebsd.org> Sent: Friday, April 18, 2003 2:04 PM Subject: Re: libpthread patch > * De: David Xu <davidxu@freebsd.org> [ Data: 2003-04-18 ] > [ Subjecte: Re: libpthread patch ] > > > There are a few issues we've got to go over, as well as > > > looking closely at any locking order problems. > > >=20 > > I have ever tried to port some kernel code to userland (e.g > > mutex and witness), but now they were left there for > > several days without be touched. >=20 > This seems like overkill, in fact, it is by definition. If you > want some primitive private-locks-only mutex tracing/auditing, > I've done a bit of that and could give you some hints. Using the > casuptr facility introduced by thr may be a good idea, no? It > is known to work, and is relatively un-complex? Or am I missing > something? I want to use code to detect LOR not just human eyes, I can accept any reasonable method. > --=20 > juli mallett. email: jmallett@freebsd.org; aim: bsdflata; efnet: juli;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003d01c30571$0edb1cf0$f001a8c0>