From owner-cvs-all Thu Nov 7 7: 7:57 2002 Delivered-To: cvs-all@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 59B1637B401; Thu, 7 Nov 2002 07:07:56 -0800 (PST) Received: from green.bikeshed.org (qnh5rhu1ixy1woff@green.bikeshed.org [10.0.0.1] (may be forged)) by green.bikeshed.org (8.12.6/8.12.6) with ESMTP id gA7F7t56051902; Thu, 7 Nov 2002 10:07:55 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.12.6/8.12.6/Submit) with ESMTP id gA7F7tQO051899; Thu, 7 Nov 2002 10:07:55 -0500 (EST) Message-Id: <200211071507.gA7F7tQO051899@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: David Xu Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/i386 exception.s genassym.c trap.c vm86.c vm86bios.s src/sys/i386/include pcb.h vm86.h In-Reply-To: Your message of "Wed, 06 Nov 2002 17:34:23 PST." <200211070134.gA71YNn0045906@repoman.freebsd.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 07 Nov 2002 10:07:55 -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Xu wrote: > davidxu 2002/11/06 17:34:23 PST > > Modified files: > sys/i386/i386 exception.s genassym.c trap.c vm86.c > vm86bios.s > sys/i386/include pcb.h vm86.h > Log: > 1.Fix smp race between kernel vm86 BIOS calling and userland vm86 mode code, > remove global variable in_vm86call, set vm86 calling flag in PCB flags. > > 2.Fix vm86 BIOS calling preempted problem by changing vm86_lock mutex type > from MTX_DEF to MTX_SPIN. vm86pcb is not remembered in thread struct, > when the thread calling vm86 BIOS is preempted by interrupt thread, > and later switching back to the thread would cause incorrect context be > loaded into CPU registers, this leads to kernel crash. Will this fix my execution of doscmd on my SMP machine, perhaps? -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org <> bfeldman@tislabs.com \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message