mm: Don't use CMA pages for page cache

All layers of the page cache may take extra references to
pages to avoid migration. This is fine for general movable
pages but renders CMA pages useless as they cannot be
allocated for contiguous mode. Always omitting movable
pages completely has poor utilization of memory so attempt
with the given GFP flags first and if a CMA page is allocated,
free it and get a new non-movable page. This does have a minor
performance impact, but ultimately it's a tradeoff between
never using movable pages and taking the extra hit of a
free/realloc.

Change-Id: I4e9d7fc1c65306d6356492fd1a99935aa62ed2ec
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
msm: mdss: Finalize gamma interface and cleanup

- Remove all sysfs files of unused commands
- Remove auto sync for negative polarities, these must be written separately
- Protect offset bit of white point command as well
- Apply white point bit 2 as duplicate of bit 1

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
msm: mdss: Send panel commands via separate function

Sending panel comnmands is very expensive, add a separate function to
accomplish this. Once all commands have been stored write anything to
the kgamma_send file.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
debug: make the Kernel leaner - picked from @morfic

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>

Conflicts:
	Makefile
	arch/arm/Makefile
arm: remove tracing options.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "lib: vsprintf: remove warning."

This reverts commit 3041cc2167527419cecb9b3b11b073d1ef1c909e.
Revert "Squash vsprintf from upstream."

This reverts commit 0ed6137ec0a08abaf5b724ecf353dad893b3d33d.
Revert "Added BITS_PER_LONG_LONG definition avoiding lib/vsprintf.c errors."

This reverts commit b7dacad8a28d9969c96642aac306416260f13eb1.
Revert "userns: Add a Kconfig option to enforce strict kuid and kgid type checks"

This reverts commit b2d63baf51a618bff5d26ff75bcc5f6c5a1af27d.
Revert "userns: Add kuid_t and kgid_t and associated infrastructure in uidgid.h"

This reverts commit 01d3441f0bcfdf0b42235cf9747c42b682975ff1.
mako_hotplug: disable gpu_busy_quad_mode by default.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Revert "arm: remove tracing options."

This reverts commit d2cee3fb26f90825f872226902d20c013a4157f6.
cpufreq: interactive: instead of using choose_freq() to calculate the new_freq lets try a more ondemand approach by using the actual load scaling to make it more consistent, specially when gaming.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>