Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2000 23:11:58 -0700
From:      Jake Burkholder <jburkhol@home.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, Jason Evans <jasone@canonware.com>, smp@freebsd.org
Subject:   Re: HEADS UP: Destabilization due to SMP development 
Message-ID:  <20000623061158.1A4A7BA4E@io.yi.org>
In-Reply-To: Message from Greg Lehey <grog@lemis.com>  of "Thu, 22 Jun 2000 13:56:56 PDT." <20000622135656.D845@sydney.worldwide.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

-current --> -smp

> On Thursday, 22 June 2000 at 10:07:38 -0700, Matthew Dillon wrote:
> >
> >> On Mon, Jun 19, 2000 at 05:34:47PM -0700, Matthew Dillon wrote:
> >>>
> >>>     Ok, I have put up a web page that will track my efforts.
> >>>
> >>> 	http://apollo.backplane.com/FreeBSDSmp/
> >>
> >> Your first patchset contains only i386 code.
> >> What is the timeframe for alpha relative to i386?
> >> Will each i386 code step converted to it a short time later or finally
> >> after the i386 code completely has been stabilized?
> >
> >     The alpha code is going to be dealt with by the alpha guys.  I am
> >     not an alpha assembly programmer.  There is going to be considerably
> >     more breakage for the alpha port in the next month then the i386 port,
> >     but hopefully it will get worked out.
> 
> Hmm.  This adds another dependency.  We will really need to get the
> Alpha code in place before we can commit anything.  Is there anybody
> out there who can do this?

I don't have an alpha, but I have access to beast and I know some
alpha assembly.  I have time in the next few days to work on making
the 2nd patch set at least compile there if that would be useful.

Do the mutex routines really need to be machine dependent?
The i386 assembly is all in the inline function atomic_cmpexg_int,
which can be implemented in alpha assembly[1].  mtx_lock could be
changed to something guaranteed large enough to hold curproc.
Would that work?

There's a decent alpha instruction set reference here:
ftp://ftp.compaq.com/pub/products/alphaCPUdocs/alpha_arch_hbk.pdf

Jake

[1] http://people.freebsd.org/~jake/cmpexg.diff
I believe this is correct, only trivially tested.



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?20000623061158.1A4A7BA4E>