Re: SMP & native threads...

Jason Thorpe <[email protected]> Wed, 11 Jun 2003 12:26:15 -0700
Newsgroups gmane.os.netbsd.devel.smp
Message-ID <[email protected]>
On Wednesday, June 11, 2003, at 12:07  PM, Andrew Gillham wrote:

> So two questions:
> 1.  Is it possible to add a scheduler hack to only allow threaded
> apps to use one CPU?  E.g. anything doing SA will be forced to cpu0, 
> while
> regular processes can use any.

Not really.  But the short-term fix for the problem will likely be 
"make it so threaded apps can't run on more than one CPU concurrently".

> 2.  Can we disable the internal pthreads lib and use pth from pkgsrc on
> an MP system?  That way at least the box will not wedge and people can
> use the MP support.

You, as a user of -current, are free to do that on your system, sure.

         -- Jason R. Thorpe <[email protected]>