Subject: Re: rough SA patch (works on SMP)
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Stephan Uphoff <ups@stups.com>
List: tech-kern
Date: 06/23/2003 16:34:13
Nathan J. Williams writes:
>
> Frank van der Linden <fvdl@netbsd.org> writes:
>
> > Thanks Stephan.
> >
> > On Mon, Jun 23, 2003 at 04:50:32AM -0400, Stephan Uphoff wrote:
> > > FYI: The patch only allows a single SA LWP to be active in
> > > userspace.
> >
> > I assume you mean for an SMP configuration? I believe that restriction
> > has always been there (so far).
>
> For UP, it's not a restriction, it's a deliberate property of SAs. In
> general, the number of SA LWPs in userspace should always be less than
> or equal to the number of CPUs in the system.
>
> - Nathan
Yes - but for SMP configurations this is a restriction.
Again this is just a band-aid and I wanted to show the limitations
of the patch.
I will try to squash the bus error bug tomorrow.
Stephan