Re: [PATCH] MAXCPU alterable in kernel config - needs testers

From: Ivan Voras <ivoras_at_fer.hr>
Date: Sun, 08 Oct 2006 22:44:26 +0200
David Xu wrote:

> 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.

Maybe there should be an option "MANYCPUS" that wraps current calls that
manipulate this int value into calls that operate on a bitmap, so
there's no speed loss in machines with low number of CPUs. Also, why not
use a 64-bit int on 64-bit platforms for the mask? This will cover at
least Niagara 2 by default.
Received on Sun Oct 08 2006 - 18:44:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:01 UTC