[haiku-development] Re: Processor number limitations

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 04 Feb 2011 13:25:23 -0600

On Fri, 2011-02-04 at 12:07 -0500, Rene Gollent wrote:
> On Fri, Feb 4, 2011 at 11:53 AM, scottmc <scottmc2@xxxxxxxxx> wrote:
> >
> > Paulo,
> > If there isn't already a trac ticket for this, please open a new one.
> > I believe the current limit is capped at 8, but could be increased.
> > How much memory does that system have in it?  I see that it tops out
> > at 256GB!
> 
> I believe the reason it's capped at 8 is binary compat. Be used that
> number directly in some fixed size arrays in kernel data structures
> that apps can ask for (i.e. via get_system_info()), so changing it
> would result in breaking things making use of those APIs.
> 

R1's goal was binary compatibility with BeOS 5 applications.

The only solution I can think of besides not supporting more then 8
processors would be to do a quick #if __GNUC__ > 2 around the max
processor count definition... not sure how this would effect
R5 compatibilities GCC4 hybrid compiles though.

 -- Alex


Other related posts: