squash Chad Goodman's dynamic fsync

This reverts commit e7e8ec98157d480c78fe0924535bf63138d2ab32.

Signed-off-by: Lens-F <tnoah12@gmail.com>
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.

updated for HTC One kernel

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>

Conflicts:
	fs/Kconfig
fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup

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

Signed-off-by: Andrew Bartholomew <andrewb03@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>

Conflicts:
	fs/sync.c

Signed-off-by: Lens-F <tnoah12@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>
Signed-off-by: Lens-F <tnoah12@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>
Signed-off-by: Lens-F <tnoah12@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>
Signed-off-by: Lens-F <tnoah12@gmail.com>
sync: add back comments that were removed by htc

Signed-off-by: Lens-F <tnoah12@gmail.com>
sched/fair: increase latency and granularity values

Signed-off-by: Lens-F <tnoah12@gmail.com>
sched/fair: improve fairness efficiency

Measured using hackbench:

PRE-patch :      4.542422684 seconds time elapsed   ( +-  47.40% )
POST-page :      2.389409991 seconds time elapsed   ( +-  47.40% )

Which shows a significant improvement of ~47.40%

**Original Patch showed significant graphical slowness on wakeup**
Lets raise the granularity period and see if that fixes the issues we were seeing with initial patch.

Signed-off-by: Paul Reioux <reioux@gmail.com>
Signed-off-by: Lens-F <tnoah12@gmail.com>
GPU: add linaro optimization flags to GPU drivers

Idea from Chad Goodman

Signed-off-by: Lens-F <tnoah12@gmail.com>
msm: Adjust the low memory boundary

The unused virtual address space in low memory is given to
vmalloc for use. This reduces the low memory space and
increases vmalloc space. Adjust the vmalloc_min in order
to increase the low memory.

Signed-off-by: Lens-F <tnoah12@gmail.com>