Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] memcpy overlap in ompi_ddt_copy_content_same_ddt and glibc 2.12
From: Jed Brown (jed_at_[hidden])
Date: 2010-11-10 15:47:48


On Wed, Nov 10, 2010 at 18:25, Jed Brown <jed_at_[hidden]> wrote:

> Is the memcpy-back code ever executed when called as memcpy()? I can't
> imagine why it would be, but it would make plenty of sense to use it inside
> memmove when the destination is at a higher address than the source.

Apparently the backward memcpy is actually used, but I still don't know why
and neither does Linus:

https://bugzilla.redhat.com/show_bug.cgi?id=638477#c46

Jed