Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap basedimplementation

From: Andrew Morton
Date: Thu Jun 03 2004 - 19:07:12 EST


Paul Jackson <pj@xxxxxxx> wrote:
>
> Major rewrite of cpumask to use a single implementation,
> as a struct-wrapped bitmap.
>
> ...
>
> +typedef struct { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t;
>

We avoided doing this because in some situations the compiler will not pass
such a cpumask_t in a register, ever. An efficiency problem on sparc64,
apparently.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/