memmove() in 2.4.0-test12, alpha platform

From: Alexander Zarochentcev (zam@namesys.com)
Date: Wed Dec 20 2000 - 14:03:42 EST


Hello !

New (since test12) optimized memmove function seems to be broken
on alpha platform.

If dest and src arguments are misaligned, new memmove does wrong things.

example:
         
       static char p[] = "abcdefghijklmnopkrstuvwxyz01234567890";
       memmove(p + 2, p + 13, 17);
       printk ("DEBUG: memmove test: %s\n", p);

produces:

       DEBUG: memmove test: abyz0123tuvwxyz0123tuvwxyz01234567890

Old memmove variant didn't have this problem.

Thanks,
Alex.
-
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/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:27 EST