From owner-cvs-src@FreeBSD.ORG Wed Jun 29 15:43:04 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2152416A41C; Wed, 29 Jun 2005 15:43:04 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F13743D53; Wed, 29 Jun 2005 15:43:01 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.3/8.13.3) with ESMTP id j5TFgxmF004633; Wed, 29 Jun 2005 08:43:00 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <1120052829.77984.17793.camel@palm> References: <200506252214.j5PMEgip000380@repoman.freebsd.org> <7c65ef6b909f86fa7f5a8aa041773a72@xcllnt.net> <20050627050618.W34733@delplex.bde.org> <1120052829.77984.17793.camel@palm> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Wed, 29 Jun 2005 08:42:58 -0700 To: Stephan Uphoff X-Mailer: Apple Mail (2.622) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Bruce Evans , cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 trap.c src/sys/amd64/amd64 trap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2005 15:43:04 -0000 On Jun 29, 2005, at 6:47 AM, Stephan Uphoff wrote: > this is just a quick fix to get basic debugging capabilities back for > some common environments. I plan to migrate parts or all of kdb_trap > back to MD code to deal with SMP race conditions. That is not a good idea. The overall behaviour of entering the debugger in inherently MI. The MD specifics are in the details, which require nothing more than some MD callback functions to fill in the blanks or create the right abstraction. Race conditions are not MD phenomena either, but may require MD techniques to prevent them. Hence, to fix race conditions you don't have to degenerate MI code to MD code, provided you have proper MD callback functions to fill in the blanks or create the right abstractions. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net