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>
fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup

Signed-off-by: faux123 <reioux@gmail.com>
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops

Signed-off-by: Andrew Bartholomew <andrewb03@gmail.com>
dynamic filesync: add some cache optimizations

and clean up file format and typos

bump version to 1.1

Signed-off-by: Paul Reioux <reioux@gmail.com>
dynamic fsync: add reboot notifier to force flush outstanding data

this should further prevent data corruption from kernel panics and
forced reboots

bump version to 1.2

Signed-off-by: Paul Reioux <reioux@gmail.com>
dynamic fsync: add kernel panic notifier to force flush outstanding data

more paranoia safety checks

Signed-off-by: Paul Reioux <reioux@gmail.com>
enabled dynamic fsync in defconfig
cpufreq: enable sibling cpu policy sharing

   combination of patches from faux123 & showp1984
HACK cpufreq: set cpuinfo_max_freq to the scaling_max_freq (thanks to @showp1984)

This prevents thermald & mpdecision from ramping cpu1 up to max.
Since this value is only read out once by them, this change will
force them to reset cpu1 to the default value instead.
Though this is not the desired outcome, it is safer than having
one core running at max clock.
Additionally this might affect apps that show the maximum
available frequency. OC apps should not be affected since
they use scaling_available_frequencies to determine the last
frequency step.
fix for 2nd core not remembering speeds (thanks to @Trinityhaxxor)
adding GPU overclock upto 320MHz as an additional scaling frequency
enabled GPU overclocking in defconfig
fixed 300MHz bin for GPU overclock
fixed compile warning
fixed cpufreq cpu policy error
lowered GPU min bin from 177MHz to 160MHz
ION: Increase MM Heap for better memory useage