mach-exynos: cpuidle-exynos4: set logging default to disabled

Signed-off-by: Andrei F <luxneb@gmail.com>
samsung-mali: disable state tracking

Signed-off-by: Andrei F <luxneb@gmail.com>
mach-exynos: sec_watchdog: make watchdog less chatty

Signed-off-by: Andrei F <luxneb@gmail.com>
lib/memcopy: use glibc version

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*******>
adapted by faux123 for 3.0.13 kernel
Signed-off-by: Andrei F <luxneb@gmail.com>
lib/string: use glibc version

the performance of memcpy and memmove of the general version is very
inefficient, this patch improved them.

Signed-off-by: Miao Xie <miaox*******>
adapted by faux123 for 3.0.13 kernel
Signed-off-by: Andrei F <luxneb@gmail.com>
slub: set slub_max_order to 0

To avoid locking and per-cpu overhead, SLUB optimisically uses
high-order allocations up to order-3 by default and falls back to lower
allocations if they fail.

So, with the default value (slub_max_order = 3), the kernel may ask up
to 3 contigous pages for each slab. However, with a reduced amount of
memory it is not worth to try to do order-3 allocations, it adds more
overhead (shrinkers have to free more objects to release any memory) and
probably it can easily fail to success with order-3 allocations.

For this reason it is better to immediately fallback to oder-0
allocations to reduce unnecessary overhead.

Signed-off-by: Andrea Righi <andrea@betterlinux.com>
Add LulzactiveV2
fs/dyn_sync_cntrl: dynamic sync control

The dynamic sync control interface uses Android kernel's unique early
suspend / lat resume interface.

While screen is on, file sync is disabled
when screen is off, a file sync is called to flush all outstanding writes
and restore file sync operation as normal.

Signed-off-by: Paul Reioux <reioux@gmail.com>
add flexrate capability Andreilux
kernel: make an exception in module loading to load proprietary modules
(by gokhanmoral)
pegasusq: Remove sysfs_duration from flexrate
mach-exynos: Don't compile unused 4210 objects on 4x12
samsung-battery: Reduce battery-monitor wakelock timeouts
Increase Charging Rate
cpuidle: target residency from Perseus (thx to AndreiLux)
VM_MAX_READAHEAD
mali:GPU conrol AndreiLux
cpufreq: add voltage control interfaces