Re: [PATCH] Scalable CPU bitmasks

Andrew Morton (akpm@zip.com.au)
Mon, 18 Mar 2002 23:56:07 -0800


Denis Vlasenko wrote:
>
> On 18 March 2002 20:07, Russ Weight wrote:
> > While systems with more than 32 processors are still
> > out in the future, these interfaces provide a path for gradual
> > code migration. One of the primary goals is to provide current
> > functionality without affecting performance.
>
> Not so far in the future. "7.52 second kernel compile" thread is about
> timing kernel compile on the 32 CPU SMP box.

The x86 spinlock implementation underflows at 128 CPUs [1].

> I don't know whether BUG() in inlines makes them too big,

It does, on all but very recent gcc's. Strings in inlines
generally cause vast kernel bloatage.

> but _for() _loops_ in inline functions definitely do that.
> Here's one of the overgrown inlines:

Sigh. There is far too much inlining in Linux.

[1] Untested.

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