Re: Update cacheline size on X86_GENERIC

From: Andi Kleen
Date: Sat Oct 11 2008 - 04:01:59 EST


> I guess there is a reasonable argument to not care about P4 so

I don't think it is. Ignoring old systems would be a mistake
and the wrong signal. One of Linux's forte over the competition
was always to run reasonable on older systems too.

There are millions and millions of P4s around.
And they're not that old, they're still shipping in fact.
And the point of GENERIC was to be a reasonable default on all
systems.

If you want to optimize for a specific CPU you're always free
to compile the kernel for that. But GENERIC should be really
GENERIC.

> much in today's GENERIC kernel. If it is worth around 1% on tpc
> on a more modern architecture, that is a pretty big motivation
> to change it too...

TPC is a extreme case, it is extremly cache bound.

Besides I suspect the TPC issue could be fixed with a minimal
tweaks without breaking other systems.

-Andi
--
ak@xxxxxxxxxxxxxxx

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