* [PATCH] sort the cache shift options.
@ 2003-08-11 16:48 davej
2003-08-11 18:31 ` Roman Zippel
0 siblings, 1 reply; 3+ messages in thread
From: davej @ 2003-08-11 16:48 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/Kconfig linux-2.5/arch/i386/Kconfig
--- bk-linus/arch/i386/Kconfig 2003-08-06 16:39:02.000000000 +0100
+++ linux-2.5/arch/i386/Kconfig 2003-08-08 00:38:44.000000000 +0100
@@ -322,10 +322,10 @@ config X86_XADD
config X86_L1_CACHE_SHIFT
int
- default "7" if MPENTIUM4 || X86_GENERIC
default "4" if MELAN || M486 || M386
default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
default "6" if MK7 || MK8
+ default "7" if MPENTIUM4 || X86_GENERIC
config RWSEM_GENERIC_SPINLOCK
bool
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sort the cache shift options.
2003-08-11 16:48 [PATCH] sort the cache shift options davej
@ 2003-08-11 18:31 ` Roman Zippel
2003-08-11 18:40 ` Dave Jones
0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2003-08-11 18:31 UTC (permalink / raw)
To: davej; +Cc: torvalds, linux-kernel
Hi,
On Mon, 11 Aug 2003 davej@redhat.com wrote:
> diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/Kconfig linux-2.5/arch/i386/Kconfig
> --- bk-linus/arch/i386/Kconfig 2003-08-06 16:39:02.000000000 +0100
> +++ linux-2.5/arch/i386/Kconfig 2003-08-08 00:38:44.000000000 +0100
> @@ -322,10 +322,10 @@ config X86_XADD
>
> config X86_L1_CACHE_SHIFT
> int
> - default "7" if MPENTIUM4 || X86_GENERIC
> default "4" if MELAN || M486 || M386
> default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
> default "6" if MK7 || MK8
> + default "7" if MPENTIUM4 || X86_GENERIC
>
> config RWSEM_GENERIC_SPINLOCK
> bool
The order does matter, in this case we want to override the cpu selection
with X86_GENERIC.
bye, Roman
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sort the cache shift options.
2003-08-11 18:31 ` Roman Zippel
@ 2003-08-11 18:40 ` Dave Jones
0 siblings, 0 replies; 3+ messages in thread
From: Dave Jones @ 2003-08-11 18:40 UTC (permalink / raw)
To: Roman Zippel; +Cc: torvalds, linux-kernel
On Mon, Aug 11, 2003 at 08:31:52PM +0200, Roman Zippel wrote:
> > diff -urpN --exclude-from=/home/davej/.exclude bk-linus/arch/i386/Kconfig linux-2.5/arch/i386/Kconfig
> > --- bk-linus/arch/i386/Kconfig 2003-08-06 16:39:02.000000000 +0100
> > +++ linux-2.5/arch/i386/Kconfig 2003-08-08 00:38:44.000000000 +0100
> > @@ -322,10 +322,10 @@ config X86_XADD
> >
> > config X86_L1_CACHE_SHIFT
> > int
> > - default "7" if MPENTIUM4 || X86_GENERIC
> > default "4" if MELAN || M486 || M386
> > default "5" if MWINCHIP3D || MWINCHIP2 || MWINCHIPC6 || MCRUSOE || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2
> > default "6" if MK7 || MK8
> > + default "7" if MPENTIUM4 || X86_GENERIC
> >
> > config RWSEM_GENERIC_SPINLOCK
> > bool
>
> The order does matter, in this case we want to override the cpu selection
> with X86_GENERIC.
Ohhh. Ok, I see how that works. Bit icky though, and non-obvious
to someone stupid like me.
Dave
--
Dave Jones http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-08-11 18:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11 16:48 [PATCH] sort the cache shift options davej
2003-08-11 18:31 ` Roman Zippel
2003-08-11 18:40 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).