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

From: Nick Piggin
Date: Sun Sep 14 2003 - 21:09:48 EST




Zwane Mwaikambo wrote:

On Sun, 14 Sep 2003, bill davidsen wrote:


We just got a start on making Linux smaller to encourage embedded use, I
don't see adding 300+ bytes of wasted code so people can run
misconfigured kernels.

I rather have to patch this in for my Athlon kernels than have people
who aren't cutting corners trying to avoid building matching kernels
have to live with the overhead.


Overhead? Really you could save more memory by cleaning up a lot of drivers. Andi already said it before, there are better places to be looking at.

Also 'patching' for Athlon kernels doesn't cut it for people who need to distribute kernels which run on various hardware (such as distros). This alone is benefit enough to justify this supposed 'bloat'.


Hi Zwane,

I still don't mind Adrian's patch (at least the concept). Its true, the
Athlon workaround is insignificant, but Adrian's patch allows the
possibility of compiling things like it out. Its also clearer to me than
the current scheme.

The only objections I have seen are from those who don't understand what
it does or implmentation issues. It might be the case that it can't be
done "nicely" without more support from kconfig and/or kbuild though.


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