Re: [PATCH] kernel: debug: memcpy overlaped, use memmove instead of memcpy.

2013-04-17 Thread Chen Gang
Hello maintainers: please help check this patch, when you have time, thanks. On 2013年04月07日 18:24, Chen Gang wrote: > > in memcpy, src and dest are overlaped. > for default implementaion or some architectures, it is OK. > but we can not be sure that it is OK for all platforms. >

Re: [PATCH] kernel: debug: memcpy overlaped, use memmove instead of memcpy.

2013-04-17 Thread Chen Gang
Hello maintainers: please help check this patch, when you have time, thanks. On 2013年04月07日 18:24, Chen Gang wrote: in memcpy, src and dest are overlaped. for default implementaion or some architectures, it is OK. but we can not be sure that it is OK for all platforms. and

[PATCH] kernel: debug: memcpy overlaped, use memmove instead of memcpy.

2013-04-07 Thread Chen Gang
in memcpy, src and dest are overlaped. for default implementaion or some architectures, it is OK. but we can not be sure that it is OK for all platforms. and in this condition, the performance are not quite important. so better to use standard ways: let memmove instead of memcpy.

[PATCH] kernel: debug: memcpy overlaped, use memmove instead of memcpy.

2013-04-07 Thread Chen Gang
in memcpy, src and dest are overlaped. for default implementaion or some architectures, it is OK. but we can not be sure that it is OK for all platforms. and in this condition, the performance are not quite important. so better to use standard ways: let memmove instead of memcpy.