linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.x and SMP fails to compile (`current' undefined)
@ 2001-01-31  2:53 David Ford
  2001-01-31  3:01 ` Stephen Frost
  0 siblings, 1 reply; 21+ messages in thread
From: David Ford @ 2001-01-31  2:53 UTC (permalink / raw)
  To: LKML

A person just brought up a problem in #kernelnewbies, building an SMP
kernel doesn't work very well, current is undefined.  I don't have more
time to debug it but I'll strip the config and put it up at
http://stuph.org/smp-config

-d

--
  There is a natural aristocracy among men. The grounds of this are virtue and talents. Thomas Jefferson
  The good thing about standards is that there are so many to choose from. Andrew S. Tanenbaum



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  2:53 2.4.x and SMP fails to compile (`current' undefined) David Ford
@ 2001-01-31  3:01 ` Stephen Frost
  2001-01-31  4:37   ` David Ford
  0 siblings, 1 reply; 21+ messages in thread
From: Stephen Frost @ 2001-01-31  3:01 UTC (permalink / raw)
  To: David Ford; +Cc: LKML

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

* David Ford (david@linux.com) wrote:
> A person just brought up a problem in #kernelnewbies, building an SMP
> kernel doesn't work very well, current is undefined.  I don't have more
> time to debug it but I'll strip the config and put it up at
> http://stuph.org/smp-config

	They're trying to compile SMP for Athlon/K7 (CONFIG_MK7=y).

		Stephen

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  3:01 ` Stephen Frost
@ 2001-01-31  4:37   ` David Ford
  2001-01-31  7:16     ` Peter Samuelson
                       ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: David Ford @ 2001-01-31  4:37 UTC (permalink / raw)
  To: Stephen Frost; +Cc: LKML

Mhm.  Is it worth the effort to make a dependancy on the CPU type for SMP?

</idle questions>

-d

Stephen Frost wrote:

> * David Ford (david@linux.com) wrote:
> > A person just brought up a problem in #kernelnewbies, building an SMP
> > kernel doesn't work very well, current is undefined.  I don't have more
> > time to debug it but I'll strip the config and put it up at
> > http://stuph.org/smp-config
>
>         They're trying to compile SMP for Athlon/K7 (CONFIG_MK7=y).

--
  There is a natural aristocracy among men. The grounds of this are virtue and talents. Thomas Jefferson
  The good thing about standards is that there are so many to choose from. Andrew S. Tanenbaum



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  4:37   ` David Ford
@ 2001-01-31  7:16     ` Peter Samuelson
  2001-01-31  8:03     ` Tom Leete
  2001-01-31 23:26     ` David Lang
  2 siblings, 0 replies; 21+ messages in thread
From: Peter Samuelson @ 2001-01-31  7:16 UTC (permalink / raw)
  To: David Ford; +Cc: Stephen Frost, LKML


[David Ford]
> Mhm.  Is it worth the effort to make a dependancy on the CPU type for
> SMP?

Yes.  'make config' should not allow unsupported configurations, at
least where convenient.

So - are any of the other chip types also incompatible with SMP support
(the Winchips, maybe)?

Peter

--- 2.4.1/arch/i386/config.in~	Tue Jan 30 14:46:04 2001
+++ 2.4.1/arch/i386/config.in	Wed Jan 31 01:08:00 2001
@@ -154,7 +154,10 @@
 
 bool 'Math emulation' CONFIG_MATH_EMULATION
 bool 'MTRR (Memory Type Range Register) support' CONFIG_MTRR
-bool 'Symmetric multi-processing support' CONFIG_SMP
+# AMD SMP - not yet
+if [ "$CONFIG_MK6" != "y" -a "$CONFIG_MK7" != "y" ]; then
+   bool 'Symmetric multi-processing support' CONFIG_SMP
+fi
 if [ "$CONFIG_SMP" != "y" ]; then
    bool 'APIC and IO-APIC support on uniprocessors' CONFIG_X86_UP_IOAPIC
    if [ "$CONFIG_X86_UP_IOAPIC" = "y" ]; then
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  4:37   ` David Ford
  2001-01-31  7:16     ` Peter Samuelson
@ 2001-01-31  8:03     ` Tom Leete
  2001-01-31 10:26       ` Peter Samuelson
  2001-01-31 13:29       ` Alan Cox
  2001-01-31 23:26     ` David Lang
  2 siblings, 2 replies; 21+ messages in thread
From: Tom Leete @ 2001-01-31  8:03 UTC (permalink / raw)
  To: David Ford; +Cc: Stephen Frost, LKML

David Ford wrote:
> 
> Mhm.  Is it worth the effort to make a dependancy on the CPU type for SMP?
> 
> </idle questions>
> 
> -d
> 
> Stephen Frost wrote:
> 
> > * David Ford (david@linux.com) wrote:
> > > A person just brought up a problem in #kernelnewbies, building an SMP
> > > kernel doesn't work very well, current is undefined.  I don't have more
> > > time to debug it but I'll strip the config and put it up at
> > > http://stuph.org/smp-config
> >
> >         They're trying to compile SMP for Athlon/K7 (CONFIG_MK7=y).
> 

It's not an incompatibility with the k7 chip, just bad code in
include/asm-i386/string.h. in_interrupt() cannot be called from there.

I have posted a patch here many times since last May. Most recent was
Saturday.

Tom
--
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  8:03     ` Tom Leete
@ 2001-01-31 10:26       ` Peter Samuelson
  2001-01-31 10:48         ` Tom Leete
  2001-02-02 15:12         ` Pavel Machek
  2001-01-31 13:29       ` Alan Cox
  1 sibling, 2 replies; 21+ messages in thread
From: Peter Samuelson @ 2001-01-31 10:26 UTC (permalink / raw)
  To: Tom Leete; +Cc: David Ford, Stephen Frost, LKML


[Tom Leete]
> It's not an incompatibility with the k7 chip, just bad code in
> include/asm-i386/string.h.

So you're saying SMP *is* supported on Athlon?  Do motherboards exist?

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 10:26       ` Peter Samuelson
@ 2001-01-31 10:48         ` Tom Leete
  2001-01-31 11:10           ` Peter Samuelson
  2001-01-31 23:38           ` David Lang
  2001-02-02 15:12         ` Pavel Machek
  1 sibling, 2 replies; 21+ messages in thread
From: Tom Leete @ 2001-01-31 10:48 UTC (permalink / raw)
  To: Peter Samuelson; +Cc: David Ford, Stephen Frost, LKML

Peter Samuelson wrote:
> 
> [Tom Leete]
> > It's not an incompatibility with the k7 chip, just bad code in
> > include/asm-i386/string.h.
> 
> So you're saying SMP *is* supported on Athlon?  Do motherboards exist?
> 
> Peter

No, I'm saying that SMP locking etc. is compatible with Athlon. The failure
to build is not a workaround but a coding error. SMP builds for UP machines
are supposed to work.

Tom
-- 
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 10:48         ` Tom Leete
@ 2001-01-31 11:10           ` Peter Samuelson
  2001-01-31 23:01             ` Olaf Titz
  2001-01-31 23:38           ` David Lang
  1 sibling, 1 reply; 21+ messages in thread
From: Peter Samuelson @ 2001-01-31 11:10 UTC (permalink / raw)
  To: Tom Leete; +Cc: David Ford, Stephen Frost, LKML


[Tom Leete]
> No, I'm saying that SMP locking etc. is compatible with Athlon.  The
> failure to build is not a workaround but a coding error.  SMP builds
> for UP machines are supposed to work.

Yes, but if SMP for Athlons is not supported, what is the point in
allowing CONFIG_SMP + CONFIG_MK7 (or CONFIG_SMP + CONFIG_MK6)?  Such a
kernel will not run on *any* SMP system, since AMD kernels do not work
on Intel.  If an AMD user really wants to carry around SMP baggage for
no reason, let him use CONFIG_M586TSC.

This is like offering MCA-bus drivers for 'make config' on SPARC.
Sure, they might compile, but nobody will have any use for them.  Thus,
we ensure that they never appear on the menus in the first place.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  8:03     ` Tom Leete
  2001-01-31 10:26       ` Peter Samuelson
@ 2001-01-31 13:29       ` Alan Cox
  2001-02-01  7:52         ` Tom Leete
  1 sibling, 1 reply; 21+ messages in thread
From: Alan Cox @ 2001-01-31 13:29 UTC (permalink / raw)
  To: Tom Leete; +Cc: David Ford, Stephen Frost, LKML

> It's not an incompatibility with the k7 chip, just bad code in
> include/asm-i386/string.h. in_interrupt() cannot be called from there.

The string.h code was fine, someone came along and put in a ridiculous loop
in the include dependancies and broke it. Nobody has had the time to untangle
it cleanly since

> I have posted a patch here many times since last May. Most recent was
> Saturday.

uninlining the code is too high a cost.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 11:10           ` Peter Samuelson
@ 2001-01-31 23:01             ` Olaf Titz
  0 siblings, 0 replies; 21+ messages in thread
From: Olaf Titz @ 2001-01-31 23:01 UTC (permalink / raw)
  To: linux-kernel

> Yes, but if SMP for Athlons is not supported, what is the point in
> allowing CONFIG_SMP + CONFIG_MK7 (or CONFIG_SMP + CONFIG_MK6)?  Such a
> kernel will not run on *any* SMP system, since AMD kernels do not work
> on Intel.  If an AMD user really wants to carry around SMP baggage for
> no reason, let him use CONFIG_M586TSC.

Authors of drivers or other kernel add-on code often have to test
their stuff on a variety of configurations. _Especially_ on an SMP
kernel even if all they have is UP.

Olaf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31  4:37   ` David Ford
  2001-01-31  7:16     ` Peter Samuelson
  2001-01-31  8:03     ` Tom Leete
@ 2001-01-31 23:26     ` David Lang
  2001-02-01 15:04       ` Jeff Garzik
  2 siblings, 1 reply; 21+ messages in thread
From: David Lang @ 2001-01-31 23:26 UTC (permalink / raw)
  To: David Ford; +Cc: Stephen Frost, LKML

probably not now that SMP athlon boards are supposed to be starting to be
available.

David Lang

On Tue, 30 Jan 2001, David Ford wrote:

> Date: Tue, 30 Jan 2001 20:37:02 -0800
> From: David Ford <david@linux.com>
> To: Stephen Frost <sfrost@snowman.net>
> Cc: LKML <linux-kernel@vger.kernel.org>
> Subject: Re: 2.4.x and SMP fails to compile (`current' undefined)
>
> Mhm.  Is it worth the effort to make a dependancy on the CPU type for SMP?
>
> </idle questions>
>
> -d
>
> Stephen Frost wrote:
>
> > * David Ford (david@linux.com) wrote:
> > > A person just brought up a problem in #kernelnewbies, building an SMP
> > > kernel doesn't work very well, current is undefined.  I don't have more
> > > time to debug it but I'll strip the config and put it up at
> > > http://stuph.org/smp-config
> >
> >         They're trying to compile SMP for Athlon/K7 (CONFIG_MK7=y).
>
> --
>   There is a natural aristocracy among men. The grounds of this are virtue and talents. Thomas Jefferson
>   The good thing about standards is that there are so many to choose from. Andrew S. Tanenbaum
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 10:48         ` Tom Leete
  2001-01-31 11:10           ` Peter Samuelson
@ 2001-01-31 23:38           ` David Lang
  2001-02-01  1:11             ` Peter Samuelson
  1 sibling, 1 reply; 21+ messages in thread
From: David Lang @ 2001-01-31 23:38 UTC (permalink / raw)
  To: Tom Leete; +Cc: Peter Samuelson, David Ford, Stephen Frost, LKML

about the third story down is one mentioning SMP athlon boards actually
starting to show up

http://www.aceshardware.com/Spades/list_news.php?category=AMD

David Lang

On Wed, 31
Jan 2001, Tom Leete wrote:

> Date: Wed, 31 Jan 2001 05:48:31 -0500
> From: Tom Leete <tleete@mountain.net>
> To: Peter Samuelson <peter@cadcamlab.org>
> Cc: David Ford <david@linux.com>, Stephen Frost <sfrost@snowman.net>,
>      LKML <linux-kernel@vger.kernel.org>
> Subject: Re: 2.4.x and SMP fails to compile (`current' undefined)
>
> Peter Samuelson wrote:
> >
> > [Tom Leete]
> > > It's not an incompatibility with the k7 chip, just bad code in
> > > include/asm-i386/string.h.
> >
> > So you're saying SMP *is* supported on Athlon?  Do motherboards exist?
> >
> > Peter
>
> No, I'm saying that SMP locking etc. is compatible with Athlon. The failure
> to build is not a workaround but a coding error. SMP builds for UP machines
> are supposed to work.
>
> Tom
> --
> The Daemons lurk and are dumb. -- Emerson
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 23:38           ` David Lang
@ 2001-02-01  1:11             ` Peter Samuelson
  2001-02-01  1:22               ` Alan Cox
  0 siblings, 1 reply; 21+ messages in thread
From: Peter Samuelson @ 2001-02-01  1:11 UTC (permalink / raw)
  To: David Lang; +Cc: Tom Leete, David Ford, Stephen Frost, LKML


[David Lang]
> about the third story down is one mentioning SMP athlon boards
> actually starting to show up

Cool!  I want one.  So ... is there any way to know if and when Linux
kernel support will be available?  I assume AMD doesn't follow the MPS
1.x standards.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-02-01  1:11             ` Peter Samuelson
@ 2001-02-01  1:22               ` Alan Cox
  0 siblings, 0 replies; 21+ messages in thread
From: Alan Cox @ 2001-02-01  1:22 UTC (permalink / raw)
  To: Peter Samuelson; +Cc: David Lang, Tom Leete, David Ford, Stephen Frost, LKML

> Cool!  I want one.  So ... is there any way to know if and when Linux
> kernel support will be available?  I assume AMD doesn't follow the MPS
> 1.x standards.

As far as I am aware they will be following the software interface. 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 13:29       ` Alan Cox
@ 2001-02-01  7:52         ` Tom Leete
  2001-02-01  8:12           ` Andre Hedrick
  2001-02-01 10:50           ` Alan Cox
  0 siblings, 2 replies; 21+ messages in thread
From: Tom Leete @ 2001-02-01  7:52 UTC (permalink / raw)
  To: Alan Cox; +Cc: David Ford, Stephen Frost, LKML

Alan Cox wrote:
> 
> > It's not an incompatibility with the k7 chip, just bad code in
> > include/asm-i386/string.h. in_interrupt() cannot be called from there.
> 
> The string.h code was fine, someone came along and put in a ridiculous loop
> in the include dependancies and broke it. Nobody has had the time to untangle
> it cleanly since

Yes, bitrot. I don't see a rearrangement of system headers happening in 2.4.
I'm pretty sure if I committed such a patch it would have no measurable
lifetime.

> 
> > I have posted a patch here many times since last May. Most recent was
> > Saturday.
> 
> uninlining the code is too high a cost.

I question that. Athlon does branch prediction on call targets, function
calls are cheap. 3dnow saves 25%-50% of cycles on a copy. How many function
calls can be paid for with 1000 cycles or so?

My patch still inlines the standard string const_memcpy for the case of
small known length.

If I configure SMP for a UP box, performance is clearly not my first
concern. If I have a real SMP Athlon system, performance should not improve
by only using one processor.

How about we get it to build before we optimize it?

Regards,
Tom

-- 
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-02-01  7:52         ` Tom Leete
@ 2001-02-01  8:12           ` Andre Hedrick
  2001-02-01 13:39             ` Tom Leete
  2001-02-01 10:50           ` Alan Cox
  1 sibling, 1 reply; 21+ messages in thread
From: Andre Hedrick @ 2001-02-01  8:12 UTC (permalink / raw)
  To: Tom Leete; +Cc: Alan Cox, David Ford, Stephen Frost, LKML


Make it and I will care and post it on kernel.org for you.
I need that patch soon.

On Thu, 1 Feb 2001, Tom Leete wrote:

> Alan Cox wrote:
> > 
> > > It's not an incompatibility with the k7 chip, just bad code in
> > > include/asm-i386/string.h. in_interrupt() cannot be called from there.
> > 
> > The string.h code was fine, someone came along and put in a ridiculous loop
> > in the include dependancies and broke it. Nobody has had the time to untangle
> > it cleanly since
> 
> Yes, bitrot. I don't see a rearrangement of system headers happening in 2.4.
> I'm pretty sure if I committed such a patch it would have no measurable
> lifetime.
> 
> > 
> > > I have posted a patch here many times since last May. Most recent was
> > > Saturday.
> > 
> > uninlining the code is too high a cost.
> 
> I question that. Athlon does branch prediction on call targets, function
> calls are cheap. 3dnow saves 25%-50% of cycles on a copy. How many function
> calls can be paid for with 1000 cycles or so?
> 
> My patch still inlines the standard string const_memcpy for the case of
> small known length.
> 
> If I configure SMP for a UP box, performance is clearly not my first
> concern. If I have a real SMP Athlon system, performance should not improve
> by only using one processor.
> 
> How about we get it to build before we optimize it?
> 
> Regards,
> Tom
> 
> -- 
> The Daemons lurk and are dumb. -- Emerson
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
> 

Andre Hedrick
Linux ATA Development

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-02-01  7:52         ` Tom Leete
  2001-02-01  8:12           ` Andre Hedrick
@ 2001-02-01 10:50           ` Alan Cox
  2001-02-01 13:53             ` Tom Leete
  1 sibling, 1 reply; 21+ messages in thread
From: Alan Cox @ 2001-02-01 10:50 UTC (permalink / raw)
  To: Tom Leete; +Cc: Alan Cox, David Ford, Stephen Frost, LKML

> > uninlining the code is too high a cost.
> 
> I question that. Athlon does branch prediction on call targets, function
> calls are cheap. 3dnow saves 25%-50% of cycles on a copy. How many function
> calls can be paid for with 1000 cycles or so?
> 
> My patch still inlines the standard string const_memcpy for the case of
> small known length.

We have a very large number of memcpy's of unknown short length (often in
interrupts) that are close to branches. A lot of

	if(foo==NULL)
		return
	memcpy(..

stuff for example.

Im more than happy for someone to do the benches and prove me wrong

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-02-01  8:12           ` Andre Hedrick
@ 2001-02-01 13:39             ` Tom Leete
  0 siblings, 0 replies; 21+ messages in thread
From: Tom Leete @ 2001-02-01 13:39 UTC (permalink / raw)
  To: Andre Hedrick; +Cc: Alan Cox, David Ford, Stephen Frost, LKML

Andre Hedrick wrote:
> 
> Make it and I will care and post it on kernel.org for you.
> I need that patch soon.
> 
> On Thu, 1 Feb 2001, Tom Leete wrote:
> 
> > Alan Cox wrote:
> > > The string.h code was fine, someone came along and put in a ridiculous loop
> > > in the include dependancies and broke it. Nobody has had the time to untangle
> > > it cleanly since
> >
> > Yes, bitrot. I don't see a rearrangement of system headers happening in 2.4.
> > I'm pretty sure if I committed such a patch it would have no measurable
> > lifetime.

Hi Andre,

I meant that nobody should be reshuffling 2.4 headers now, didn't intend to
sound like I take that personally.

I'll take a look. I may be able to do something with include guards or other
#defines + multiple passes. We already have the multiple passes.

I think my arguments for the present patch are good. I'm making a mod of
Arjan's athlon.c to see if I'm right. If you have a suggestion for another
benchmark, I'd like to hear about it. Whatever the results, I'll post them
here.

Glad if whatever comes out is useful to you.

Cheers,
Tom

-- 
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-02-01 10:50           ` Alan Cox
@ 2001-02-01 13:53             ` Tom Leete
  0 siblings, 0 replies; 21+ messages in thread
From: Tom Leete @ 2001-02-01 13:53 UTC (permalink / raw)
  To: Alan Cox; +Cc: David Ford, Stephen Frost, LKML

Alan Cox wrote:
> 
> We have a very large number of memcpy's of unknown short length (often in
> interrupts) that are close to branches. A lot of
> 
>         if(foo==NULL)
>                 return
>         memcpy(..
> 
> stuff for example.
> 
> Im more than happy for someone to do the benches and prove me wrong

Agreed, that is a bad case, and there is overhead for it in my patch. I'm
putting together some metrics, will post results here.

Regards,
Tom

-- 
The Daemons lurk and are dumb. -- Emerson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 23:26     ` David Lang
@ 2001-02-01 15:04       ` Jeff Garzik
  0 siblings, 0 replies; 21+ messages in thread
From: Jeff Garzik @ 2001-02-01 15:04 UTC (permalink / raw)
  To: David Lang; +Cc: David Ford, Stephen Frost, LKML

On Wed, 31 Jan 2001, David Lang wrote:
> probably not now that SMP athlon boards are supposed to be starting to be
> available.

They already are...  there is a dual Athlon box at the MDK booth here at
LinuxWorld.

	Jeff




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: 2.4.x and SMP fails to compile (`current' undefined)
  2001-01-31 10:26       ` Peter Samuelson
  2001-01-31 10:48         ` Tom Leete
@ 2001-02-02 15:12         ` Pavel Machek
  1 sibling, 0 replies; 21+ messages in thread
From: Pavel Machek @ 2001-02-02 15:12 UTC (permalink / raw)
  To: Peter Samuelson, Tom Leete; +Cc: David Ford, Stephen Frost, LKML

Hi!

> > It's not an incompatibility with the k7 chip, just bad code in
> > include/asm-i386/string.h.
> 
> So you're saying SMP *is* supported on Athlon?  Do motherboards exist?

Check today's slashdot ;-).
								Pavel
-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-02-02 19:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-31  2:53 2.4.x and SMP fails to compile (`current' undefined) David Ford
2001-01-31  3:01 ` Stephen Frost
2001-01-31  4:37   ` David Ford
2001-01-31  7:16     ` Peter Samuelson
2001-01-31  8:03     ` Tom Leete
2001-01-31 10:26       ` Peter Samuelson
2001-01-31 10:48         ` Tom Leete
2001-01-31 11:10           ` Peter Samuelson
2001-01-31 23:01             ` Olaf Titz
2001-01-31 23:38           ` David Lang
2001-02-01  1:11             ` Peter Samuelson
2001-02-01  1:22               ` Alan Cox
2001-02-02 15:12         ` Pavel Machek
2001-01-31 13:29       ` Alan Cox
2001-02-01  7:52         ` Tom Leete
2001-02-01  8:12           ` Andre Hedrick
2001-02-01 13:39             ` Tom Leete
2001-02-01 10:50           ` Alan Cox
2001-02-01 13:53             ` Tom Leete
2001-01-31 23:26     ` David Lang
2001-02-01 15:04       ` Jeff Garzik

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).