smdk4412: mali: merge with r3p1 driver from note8

Change-Id: I75db69081b986ec326fe347f73aa3655648e6b81
block: Add SIO I/O scheduler

Signed-off-by: Andrei F <luxneb@gmail.com>
Signed-off-by: ptmr3 <ptmr323@gmail.com>
lib/lzo: Update LZO compression to current upstream version

This commit updates the kernel LZO code to the current upsteam version
which features a significant speed improvement - benchmarking the Calgary
and Silesia test corpora typically shows a doubled performance in
both compression and decompression on modern i386/x86_64/powerpc machines.

Signed-off-by: Markus F.X.J. Oberhumer <markus@oberhumer.com>
cpufreq: add hotplug governor

Signed-off-by: ptmr3 <ptmr323@gmail.com>

Conflicts:
	drivers/cpufreq/Makefile
cpufreq_hotplug: patch hotplug governor to use workqueues when enabling/disabling the second core
cpufreq_hotplug: make hotplug plug in/out more than one core depending on the load
power: Samsung factory limit workaround

This avoids userspace factory limit of the CPU frequency without breaking power savings mode.
Pegasus Overhaul
samsung-battery: Reduce battery-monitor wakelock timeouts
pegasusq: Remove io busy control
tmpfs: fix mempolicy object leaks

This patch fixes several mempolicy leaks in the tmpfs mount logic.
These leaks are slow - on the order of one object leaked per mount
attempt.

Leak 1 (umount doesn't free mpol allocated in mount):
    while true; do
        mount -t tmpfs -o mpol=interleave,size=100M nodev /mnt
        umount /mnt
    done

Leak 2 (errors parsing remount options will leak mpol):
    mount -t tmpfs -o size=100M nodev /mnt
    while true; do
        mount -o remount,mpol=interleave,size=x /mnt 2> /dev/null
    done
    umount /mnt

Leak 3 (multiple mpol per mount leak mpol):
    while true; do
        mount -t tmpfs -o mpol=interleave,mpol=interleave,size=100M nodev /mnt
        umount /mnt
    done

This patch fixes all of the above.  I could have broken the patch into
three pieces but is seemed easier to review as one.

Signed-off-by: Greg Thelen <gthelen@google.com>
modified for Mako kernel from LKML reference

Signed-off-by: faux123 <reioux@gmail.com>
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_kernel_samsung_smdk4412 into exp