lkml.org 
[lkml]   [2003]   [Dec]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 30 Dec 2003 00:11:21 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] optimize ia32 memmove
Jeff Garzik <jgarzik@pobox.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2008