Re: [PATCH] Simplified scalable cpu bitmasks

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Aug 12 2002 - 03:14:57 EST


On Sun, 11 Aug 2002 22:21:24 -0700 (PDT)
"David S. Miller" <davem@redhat.com> wrote:

> From: Rusty Russell <rusty@rustcorp.com.au>
> Date: Mon, 12 Aug 2002 14:42:51 +1000
>
> This changes bitmap_member to the more logical DECLARE_BITMAP, then
> uses it for cpu_online_map (ie. cpu_online_map is now an unsigned long
> array).
>
> Compiles and boots: Dave, how's this?
>
> I'm ok with this for now.
>
> I suspect that once you start using NR_CPUS in the range of 1024 or so
> you want to allow the port do things like "use a pointer for cpuset_t
> and NULL means CPU_MASK_ALL"

I thought about that. Then I thought, "we'll cross that bridge when we
come to it". It's overdesign at the moment, we'll be able to judge in 2.7.

Rusty.

-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:27 EST