Re: 2.4.x and SMP fails to compile (`current' undefined)

From: Alan Cox (
Date: Thu Feb 01 2001 - 05:50:56 EST

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


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
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:12 EST