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
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/freddespo/android_kernel_samsung_golden/commit/2633f381ad77c4f1a4bb2f282ed0233403a$
- https://github.com/freddespo/android_kernel_samsung_golden/commit/b16166b81b7a002434254cdd5d0d2413144$
- https://github.com/freddespo/android_kernel_samsung_golden/commit/5f4fdcb125c2100e202556d5c3591ef2208$
- https://github.com/freddespo/android_kernel_samsung_golden/commit/ff8cebdf9b3e11fe75f7a92fadbba95ba58$
- https://github.com/freddespo/android_kernel_samsung_golden/commit/3d72023eb814f2c5214fe108405c9056174$
sched: Avoid sched loadavg moire for 100Hz

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

Signed-off-by: cocafe <cocafehj@gmail.com>
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.