memmove() name: , (, ).
, memcpy() , memmove(), memcpy() , , memmove().
, , , , , - memmove() memcpy() , , . memcpy() ( , , ), memcpy() Linux C memcpy():
In the kernel, the optimized x86 memcpy that we use is actually memmove (), because although performance is really important, it is repeatability and avoiding surprises (strictly speaking, we have two versions: “rep movs” for the case where this is should be fast and open source. The version of "rep movs" has only transitions and does not handle overlapping areas).
source
share