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

From: Andrew Morton
Date: Thu Jun 03 2004 - 19:25:29 EST


Andrew Morton <akpm@xxxxxxxx> wrote:
>
> > +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.

Although for some reason your patches shrink my sparc64 build from

text data bss dec hex filename
3508730 895000 302656 4706386 47d052 vmlinux
to 3507586 895080 302656 4705322 47cc2a vmlinux

so we can probably evade the wrath-of-davem.

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