Patch by Vincent Duvert:
Remove the 4 cores limit at boot, and fix the allocator to handle 8 cores. There are still performance problems, but this allows booting with 8 cores. WARNING: since this changes x86 platform kernel args, you really don't want to update haiku_loader and kernel_x86 separately! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33349 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
90a4f23370
commit
858a20cab8
@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
// must match SMP_MAX_CPUS in arch_smp.h
|
||||
#define MAX_BOOT_CPUS 4
|
||||
#define MAX_BOOT_CPUS 8
|
||||
#define MAX_PHYSICAL_MEMORY_RANGE 6
|
||||
#define MAX_PHYSICAL_ALLOCATED_RANGE 6
|
||||
#define MAX_VIRTUAL_ALLOCATED_RANGE 6
|
||||
|
@ -61,7 +61,7 @@ class hoardHeap {
|
||||
// number of threads -- Hoard imposes no such limit.) This must be
|
||||
// a power of two! NB: This number is twice the maximum number of
|
||||
// PROCESSORS supported by Hoard.
|
||||
enum { MAX_HEAPS = B_MAX_CPU_COUNT };
|
||||
enum { MAX_HEAPS = B_MAX_CPU_COUNT * 2 };
|
||||
|
||||
// ANDing with this rounds to MAX_HEAPS.
|
||||
enum { MAX_HEAPS_MASK = MAX_HEAPS - 1 };
|
||||
|
Loading…
Reference in New Issue
Block a user