public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* memmove() in 2.4.0-test12, alpha platform
@ 2000-12-20 19:03 Alexander Zarochentcev
  2000-12-21 15:40 ` Ivan Kokshaysky
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Zarochentcev @ 2000-12-20 19:03 UTC (permalink / raw)
  To: linux-kernel

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/

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

end of thread, other threads:[~2000-12-22 11:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-20 19:03 memmove() in 2.4.0-test12, alpha platform Alexander Zarochentcev
2000-12-21 15:40 ` Ivan Kokshaysky
2000-12-22 11:21   ` Alexander Zarochentcev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox