CONFIG_X86_GENERIC description fixup
PATCH RESEND 1/1 CONFIG_X86_GENERIC description fixup
From: Stewart Smith <[email protected]>
as per thread on lkml a little while ago, a better explanation of the X86_GENERIC config option follows. The person who questioned it originally seemed to like this improved version, so that's one point :)
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +7 -3
@@ -303,9 +303,13 @@ config X86_GENERIC bool "Generic x86 support" help - Including some tuning for non selected x86 CPUs too. - when it has moderate overhead. This is intended for generic - distributions kernels. + Instead of just including optimizations for the selected + x86 variant (e.g. PII, Crusoe or Athlon), include some more + generic optimizations as well. This will make the kernel + perform better on x86 CPUs other than that selected. + + This is really intended for distributors who need more + generic optimizations. # # Define implied options from the CPU selection here
Signature · 3 lines
What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/ Don't blame me: the Monkey is driving File: Stewart Smith <[email protected]>: [resend patch] CONFIG_X86_GENERIC description fixup
Quoted 3 lines · Rusty Trivial Russell
as per thread on lkml a little while ago, a better explanation of the
X86_GENERICconfig option follows. The person who questioned it originally seemed to like this improved version, so that's one point :)
How about explaining _exactly_ what it does? This is still a somewhat mysterious description. "generic optimisations" what is that ?
Quoted 6 lines
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +0
-0@@ -303,9 +303,13 @@ config X86_GENERIC bool "Generic x86 support" help
arch/i386/Kconfig line 312
Quoted 10 lines
arch/i386/Kconfig renamed from arch/i386/Kconfig.orig +7
-3- Including some tuning for non selected x86 CPUs too. - when it has moderate overhead. This is intended for generic - distributions kernels. + Instead of just including optimizations for the selected + x86 variant (e.g. PII, Crusoe or Athlon), include some more + generic optimizations as well. This will make the kernel + perform better on x86 CPUs other than that selected. + + This is really intended for distributors who need more + generic optimizations.
All that it seems to do right now is set the cacheline size to the same as it would if the kernel was compiled for P4, regardless of what target CPU is selected, so that for eg, an i686 kernel won't perform any worse on a P4, saving vendors shipping seperate P4 kernels. it should also note what performance impact (if any) users of this option will see if they run such a kernel on a box with a smaller cacheline size.
If this option ever does anything else, that too should get documented here.
Dave
Signature · 1 line
Dave Jones http://www.codemonkey.org.uk
In message <[email protected]> you write:
Quoted 8 lines · Rusty Trivial Russell
Quoted 4 lines
as per thread on lkml a little while ago, a better explanation of the
X86_GENERICconfig option follows. The person who questioned it originally seemed to like this improved version, so that's one point :)How about explaining _exactly_ what it does? This is still a somewhat mysterious description. "generic optimisations" what is that ?
Whatever it says will go out of date too quickly 8(. I think this patch will be fine.
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.