From owner-cvs-all@FreeBSD.ORG Sun Jul 6 10:26:01 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7B6F37B40C; Sun, 6 Jul 2003 10:26:01 -0700 (PDT) Received: from saturn.bsdhome.com (rrcs-midsouth-24-199-220-171.biz.rr.com [24.199.220.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBF6343F3F; Sun, 6 Jul 2003 10:26:00 -0700 (PDT) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (jupiter [192.168.220.13]) by saturn.bsdhome.com (8.12.9/8.12.9) with ESMTP id h66HQ0am046951; Sun, 6 Jul 2003 13:26:00 -0400 (EDT) (envelope-from bsd@bsdhome.com) Received: from neutrino.bsdhome.com (localhost [127.0.0.1]) by neutrino.bsdhome.com (8.12.9/8.12.9) with ESMTP id h66HPt3G004862; Sun, 6 Jul 2003 13:25:55 -0400 (EDT) (envelope-from bsd@neutrino.bsdhome.com) Received: (from bsd@localhost) by neutrino.bsdhome.com (8.12.9/8.12.9/Submit) id h66HPteG004861; Sun, 6 Jul 2003 13:25:55 -0400 (EDT) Date: Sun, 6 Jul 2003 13:25:55 -0400 From: Brian Dean Message-ID: <20030706172555.GA4708@neutrino.bsdhome.com> References: <200307061652.h66GqJMp060956@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200307061652.h66GqJMp060956@repoman.freebsd.org> User-Agent: Mutt/1.4.1i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 vm_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2003 17:26:02 -0000 On Sun, Jul 06, 2003 at 09:52:19AM -0700, Brian S. Dean wrote: > bsd 2003/07/06 09:52:19 PDT > > FreeBSD src repository > > Modified files: > sys/i386/i386 vm_machdep.c > Log: > Don't unconditionally reset the hardware debug registers in cpu_exit(), > reset them only if they were previously in use. Unconditionally > resetting the registers wipes them out frequently, which interferes > with their use for kernel debugging. FWIW, it looks like the reset_dbregs() call can be completely removed from cpu_exit(), conditional or not, since cpu_thread_exit() also makes the same call a little bit later in exit1() (by way of thread_exit()). -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com http://www.bsdhome.com/ http://www.bdmicro.com/