[haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional?
- From: "François Revol" <revol@xxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 29 Sep 2009 15:10:48 +0200 CEST
>
> Le 29 sept. 2009 à 08:52, Axel Dörfler a écrit :
>
> > Siarzhuk Zharski <zharik@xxxxxx> wrote:
> >> Hm... I have finally understand the comment above the MAX_HEAPS
> >> definition and ...
> >> Shouldn't we increase the number of MAX_HEAPS to twice? :-)))
> >
> > Sounds like the way to go indeed!
>
> I just tried this:
> src/system/libroot/posix/malloc/heap.h
> - enum { MAX_HEAPS = B_MAX_CPU_COUNT };
> + enum { MAX_HEAPS = B_MAX_CPU_COUNT * 2 };
>
> and, of course:
> headers/private/kernel/boot/platform/bios_ia32/platform_kernel_args.h
> -#define MAX_BOOT_CPUS 4
> +#define MAX_BOOT_CPUS 8
>
> And Haiku booted successfully in Q[emu] ! It is really slow
> afterwards
> (10 minutes to boot!), but it works.
>
> http://img190.imageshack.us/img190/6451/capturedcran20090929121.png
> :)
Looks nice :)
I just commited it as r33349.
François.
- Follow-Ups:
- [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional?
- From: Siarzhuk Zharski
- [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional?
- References:
- [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional?
- From: Vincent Duvert
- [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional?
Other related posts:
- » [haiku-development] SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - François Revol
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Michael Lotz
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Stefano Ceccherini
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Axel Dörfler
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Vincent Duvert
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Alexander von Gluck
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - François Revol
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Michael Crawford
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - François Revol
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Rene Gollent
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Jérôme Duval
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Siarzhuk Zharski
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Patrick Kelly
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Christopher Walker
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Ryan Leavengood
- » [haiku-development] Re: SMP: Is MAX_BOOT_CPUS 4 restriction intentional? - Rene Gollent