add extra free kbytes tunable

Add a userspace visible knob to tell the VM to keep an extra amount
of memory free, by increasing the gap between each zone's min and
low watermarks.

This is useful for realtime applications that call system
calls and have a bound on the number of allocations that happen
in any short time period.  In this application, extra_free_kbytes
would be left at an amount equal to or larger than than the
maximum number of allocations that happen in any burst.

It may also be useful to reduce the memory use of virtual
machines (temporarily?), in a way that does not cause memory
fragmentation like ballooning does.

[ccross]
Revived for use on old kernels where no other solution exists.
The tunable will be removed on kernels that do better at avoiding
direct reclaim.

Change-Id: I765a42be8e964bfd3e2886d1ca85a29d60c3bb3e
Signed-off-by: Rik van Riel<riel@redhat.com>
Signed-off-by: Colin Cross <ccross@android.com>
board-latona: don't initialize all the serial ports available

Revert also ecad852 ("mach: serial: fix issues with bluetooth wake on latona")
OMAPDSS: DSS2: add early suspend support
mach: pm: simplify minimum dsp frequency sysfs control
mach: pm: allow to change OPP voltage if SR is disabled

Requires 6695dbb ("SmartReflex: allow to selectively disable SR calibrations")

volt_calibrated is used instead of volt_nominal if it's nonzero.
latona defconfigs: enable keychord driver

This is required to trigger services through keycodes.
latona defconfigs: don't optimize for size
phone_svn: don't restart on timeout

It just breaks RIL, forcing the user to reboot in order to have it
functional again.
phone_svn: ipc_spi: don't reinit semaphore on timeout
phone_svn: ipc_spi: clear vbuff on timeout
board-latona-power: don't setup the system oscillator time

It has no effects. Plus, the timings were not calculated for the latona board.
board-latona-power: don't set the alert threshold while in lpm
panel: latona: fix unbalanced regaulator disables
mach: opp: disable core OPP1 on latona

It appears to be the cause of some system instabilities.
SmartReflex: allow to selectively disable SR calibrations

SmartReflex class 1.5 calibrations are causing issues at non-standard
frequencies.
Allow to disable them and lock specific voltages using a special
volt_margin.

Based on Steven Luo's <steven@steven676.net> work for encore.
defconfig: reduce vram for latona

We are using only 1 framebuffer and no HDMI. Hence the least
VRAM we would need is 5 MB.
mach: opp3xxx: use dpll3_m2_ck for L3 and increase the clocks
Merge branch 'cm-11.0' of git://github.com/dhiru1602/android_kernel_samsung_latona into cm-11.0

Signed-off-by: David Rodero <david@codiguiel.net>

Conflicts:
	arch/arm/mach-omap2/opp3xxx_data.c

Change-Id: I43541e432dc613b99440c4c49cd4ee35a705dddd