Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 1999 11:34:31 +0200 (CEST)
From:      Magnus Gr|nlund <magnus@ludd.luth.se>
To:        mike@smith.net.au (Mike Smith)
Cc:        freebsd-smp@freebsd.org
Subject:   Re: Really slow SMP
Message-ID:  <199904300934.LAA25670@speedy.ludd.luth.se>
In-Reply-To: <199904292131.OAA00867@dingo.cdrom.com> from Mike Smith at "Apr 29, 99 02:31:38 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 
> > > Sorry, not sure I follow you here; there's no locking in 
> > > mem_range_AP_init(), and it's where the MTRRs were being loaded before. 
> > > The code path is a little more convoluted now, but has the same basic 
> > > effect.
> >
> > IIRC, disable_intr() for SMP needs to get a lock to prevent intr from
> > occuring on all cpus. In any case, it's safer to do it ap_init() when
> > the AP holds the giant lock.
> 
> Point.  Here's a new diff; can the people with "slow SMP" problems try 
> this one?
> 

I got the "slow SMP"-problem and applying the patches to yesterdays current
resulted in "general protection fault in kernel mode" when
mem_range_AP_init() is called. 

/Magnus


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904300934.LAA25670>