cvs commit: src/sys/i386/i386 vm_machdep.c

John Baldwin jhb at FreeBSD.org
Tue Dec 14 14:38:18 PST 2004


On Tuesday 14 December 2004 03:11 pm, Nate Lawson wrote:
> John Baldwin wrote:
> > On Tuesday 30 November 2004 01:18 am, Nate Lawson wrote:
> >>njl         2004-11-30 06:18:46 UTC
> >>
> >>  FreeBSD src repository
> >>
> >>  Modified files:
> >>    sys/i386/i386        vm_machdep.c
> >>  Log:
> >>  MFamd64:  Remove the cpu_reset_proxy cruft now that we run boot() on
> >>  cpu 0.  Also, restructure cpu_reset to be cleaner (no functional
> >> change.)
> >
> > FYI, this breaks the 'reset' command from ddb if you panic on a cpu other
> > than the BSP.  boot() isn't the only function that calls cpu_reset(), so
> > perhaps this should be reverted (same for amd64)
>
> No, I think we should move forward instead of backward.  Entering the
> debugger should happen on the BSP and possibly other cpus need to be
> stopped by panic().

Erm, well, that's not always easy since sometimes when you panic you can't 
talk to the other CPUs for whatever reason.  Putting back the proxy reset 
doesn't hurt for now but does restore functionality in at least some cases.  
I'd rather have that then certain hard panics not get into ddb because we 
couldn't get onto the BSP to run ddb.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list