# \[PATCH\] lib/decompress\_unxz.c: removing all memory helper functions

- From: Thavatchai Makphaibulcboke \<hidden\>
- Date: 2012-05-25 17:06:04 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2012/05/3870360
- Thread: https://ratatoskr.run/linux-arm-kernel/2012/05/3869736/t.md

```text
> We could do that.  But according to the comment in the original
> implementation, there seems to be a concern regarding its performance
> speed. If you believe all archs' memcpy would give comparable
> performance to the memmove. then I could do that.
> 

Also how about the case for overlapping buffer, especially when the
destination is at a higher address?  I do not believe memcpy guarantee
to work.

Thanks,
Mak.
```
