From owner-freebsd-arch Mon Sep 25 4:56:33 2000 Delivered-To: freebsd-arch@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 8730137B42C; Mon, 25 Sep 2000 04:56:30 -0700 (PDT) Received: from newsguy.com (p11-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.76]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id UAA25291; Mon, 25 Sep 2000 20:55:35 +0900 (JST) Message-ID: <39CF3CFF.47E3E8F6@newsguy.com> Date: Mon, 25 Sep 2000 20:54:39 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: Terry Lambert Cc: Greg Lehey , Chuck Paterson , Archie Cobbs , Brian Somers , Joerg Micheel , Matthew Jacob , Frank Mayhar , John Baldwin , Mark Murray , FreeBSD-arch@FreeBSD.ORG Subject: Re: Mutexes and semaphores (was: cvs commit: src/sys/conf files src/sys/sys random.h src/sys/dev/randomdev hash.c hash.h harvest References: <200009250302.UAA04620@usr05.primenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: > > In the case of a starvation or deadly embrace deadlock, one need > only get a stack trace of processes currently in the kernel to > determine where the problem lives; however, an owner would make > this rather automatic, and could aid debugging, as you say. I do > have a problem with this approach, however, since it makes it much > more likely that people will be sloppy, and then wait for deadlocks > to be reported, rather than thinking through their code and ensuring > that deadlocks are not possible in the first place. The idea that Just in case you haven't noticed, you just defended lack of debugging aids on the grounds that people will code better in their absence. Let's take this opportunity and make us completely incompatible with gdb too. Without gdb, people will have to think much better about their code, since debugging will be very hard. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.secret.bsdconspiracy.net "I demand that my picture show a handsome face, even if it doesn't look like me." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message