ksm: Provide support to use deferred timers for scanner thread

KSM thread to scan pages is getting schedule on definite timeout.
That wakes up CPU from idle state and hence may affect the power
consumption. Provide an optional support to use deferred timer
which suites low-power use-cases.

To enable deferred timers,
$ echo 1 > /sys/kernel/mm/ksm/deferred_timer

Change-Id: I07fe199f97fe1f72f9a9e1b0b757a3ac533719e8
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
ksm: enable deferred timer

Change-Id: I3e4745206a1333fb67e0473573cc44d78c1895c7
power/portlist: don't spam kmsg
cfg80211: Fix memory leak

When a driver requests a specific regulatory domain after cfg80211 already
has one, a struct ieee80211_regdomain is leaked.

Change-Id: Id28fc9861b9c911a97bd242439eabca097d76258
Reported-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: b7566fc363e23f0efd3fa1e1460f9421cdc0d77e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[mattw@codeaurora.org: trivially backport to the msm-3.4 kernel]
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
pm: Remove most of ARM KHz Qos requirements

When requires ARM KHz QoS will override cpufreq min value.
That's why we "can not" set min value when touch booster is enabled,
We set it, then touch booster overrides it.

In other words, cpufreq min value control in userspace will have no effect.

Experimental still.

Signed-off-by: cocafe <cocafehj@gmail.com>
clock-db8500: Add arm_pll clock

Note: smp_twd is armss clock.

Signed-off-by: cocafe <cocafehj@gmail.com>
mm: kswapd inherit prio

When kswapd is awoken due to reclaim by a running task, set the priority of
kswapd to that of the calling task thus making memory reclaim cpu activity
affected by nice level.

-ck
sched: Avoid sched loadavg moire for 100Hz

==> http://ripke.com/loadavg/moire

Signed-off-by: cocafe <cocafehj@gmail.com>
mali/ux500: GPU OC 1.0.1

1. Adjust DVFS table
2. Get rid of setting boost index manually
3. Various changes, code style

Signed-off-by: cocafe <cocafehj@gmail.com>

fusion of multiple commit:
- https://github.com/cocafe/i9070_kernel_CoCore-E/commit/b3a798080dff0cc078a25a179705c6036813511e
- https://github.com/cocafe/i9070_kernel_CoCore-E/commit/9372f3e6c17d79961613febde0b464cacd559d99
- https://github.com/cocafe/i9070_kernel_CoCore-E/commit/0da221c5d542a77127d6ebf617f7c0e3ceb8b818
- https://github.com/cocafe/i9070_kernel_CoCore-E/commit/47cac1c6f0a032aeea6dc3bb0afad9cc879ec524
- https://github.com/cocafe/i9070_kernel_CoCore-E/commit/7ee7cceaca5a0726e63c5835c9ce327fade47ad3
Enabling Multi-core scheduler support
Multi-core scheduler support improves the CPU scheduler's decision making when dealing
with multi-core CPU chips at a cost of slightly increased overhead in some places.
add support for zram
mm: lru cache add lru tail

When reading from large files through the generic file read functions into
page cache we can detect when a file is so large that it is unlikely to be
fully cached in ram. If that happens we can put it on the tail end of the
inactive lru list so it can be the first thing evicted next time we need ram.

Do lots of funny buggers with underscores to preserve most of the existing
APIs.

-ck
F_kernel_1.1