Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata

Eric W. Biederman
2003-09-12T17:32:44Z

Jeff Garzik <jgarzik@pobox.com> writes:

> >> If I disabled CONFIG_X86_GENERIC and select CONFIG_MPENTIUM4, I darned well
> >> better not get any Athlon code. The cpu setup code in particular I want to
> >> conditionalize, and there are other bits that need work... but for the most
> >> part it works as intended.
> > Now that's becomming silly. It's alttogether only a few KB and all
> > __init code anyways.
>
>
> If you're doing crazy LinuxBIOS stuff where flash size is limited, it makes a
> lot of sense. (and I do such crazy things) The core 2.6 kernel has really
> bloated with optional features, IMO.

The size of a minimal bzImage (the stuff you can't compile out) has
increased by roughly 400KB since 1.0 200KB since 2.2 and 100KB since 2.4.

So please pardon those of us who complain at things that can't be
configured out. The x86 kernel is on the edge of becoming useless
in some embedded scenarios because it is so fat.

When we can compile out code, we can at least narrow down where the
problems are.

I have to agree with Jeff the LinuxBIOS stuff is crippled right now
because of this.

There may be better places to attack. But new code is what is up for
examination and is easiest to fix.

Eric