[PATCH] MAXCPU alterable in kernel config - needs testers

David Xu davidxu at freebsd.org
Sun Oct 8 05:11:57 PDT 2006


On Sunday 08 October 2006 19:23, Astrodog wrote:
> With the quad core processors coming out soon, this is going to become
> more of an issue.. (Sun T1/2000s aside). This is basically the same
> patch from a few months ago, with updated offsets.
>
> If you don't define MAXCPU in the kernel config, it reverts to old
> behavior. It has no logic to keep you from shooting yourself in the
> foot though.. you can define options SMP and options MAXCPU 128 on
> arm.
>
> --- Harrison Grundy

I think MAXCPU should not be great than 32, since we currently define
cpumask_t as an integer which now should be changed to a bitmap and
a group of operations like we did for sigset_t.

David Xu


More information about the freebsd-current mailing list