Re: [PATCH] optimize ia32 memmove
From: Andrew Morton
Date: Tue Dec 30 2003 - 03:13:17 EST
Jeff Garzik <jgarzik@xxxxxxxxx> wrote:
>
> > "if dest is less that source, then call memcpy". If the move is to a
> > higher address we do it the old way.
>
>
> I'm confused... that doesn't say anything to me about overlap.
>
Overlap is OK if dest<src, because memcpy starts with the lowest address
and works upwards.
-
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/