improve memcopy/memmove
http://lkml.indiana.edu/hypermail/linux/kernel/1009.0/00099.html

the kernel's memcpy and memmove is very inefficient. But the glibc version is
quite fast, in some cases it is 10 times faster than the kernel version. So I
introduce some memory copy macros and functions of the glibc to improve the
kernel version's performance.

The strategy of the memory functions is:
1. Copy bytes until the destination pointer is aligned.
2. Copy words in unrolled loops. If the source and destination are not aligned
in the same way, use word memory operations, but shift and merge two read
words before writing.
3. Copy the few remaining bytes.

Signed-off-by: Miao Xie <miaox@xxxxxxxxxxxxxx>
add ARM optimized RWSEM algorithm

RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

- https://www.codeaurora.org/gitweb/quic/le/?p=kernel/msm.git;a=commitdiff;h=917c8db2c20f54a904451b5b38933d57d3d1cc2e
- https://github.com/Ezekeel/GLaDOS-nexus-s-ics/commit/3001d8c824628e1bd13203837fb69d7d9b208d4e