arch:arm:configs: modify defconfig for zram

Signed-off-by: Dan Trifan <jimsth@gmail.com>
arch:arm:configs: defconfig cleanup

Signed-off-by: Dan Trifan <jimsth@gmail.com>
introduce ANDROID_OOM_KILLER - thanks Dorimanx

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "perf: Use static variant of perf_event_overflow in core.c"

This reverts commit 87df95846411fcfcc2c85c9defc16671d9ed9c55.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
gpu: pvr: Update to DDK 1.8@2198402

 - Implemented a DC API change which queues a dummy display flip to
   workaround a rare and difficult to reproduce synchronization
   deadlock.
 - Eliminate log spam from Linux shrinker integration.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
gpu: pvr: bypass compat check if version is same but build # is different

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Android oom killer - moved some things around

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "cpufreq: interactive: fix derp of from latest commit. Original author of last commit has been notified to fix it upstream."

This reverts commit c58d7fcd78afa7b9ba27f70ffc5e6eebba7bd8e8.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "cpufreq: interactive: resched timer if max freq raised"

This reverts commit 97d84ac4ef26a27faa06e8c43a613f02bc37be66.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: interactive: resched timer if max freq raised

When the policy max freq is raised, and before the timer is
rescheduled in idle callback, the cpu freq may stuck at a
lower freq.

The target_freq shall be updated too, else on a high load
situation, the new_freq is always equal to target_freq and
which will cause freq stuck at a lower freq too.

Reschedule the timer on gov limits callback.

Change-Id: I6c187001ab43e859731429b64f75a74eebc37a24
Signed-off-by: Lianwei Wang <a22439@motorola.com>
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
arch:arm:configs: defconfig enable CONFIG_CGROUP_TIMER_SLACK

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: ondemandplus: handle speed up and down in the realtime task

Original commit for interactive governor by Todd Poynor:
https://android.googlesource.com/kernel/common.git/+/f8aa05d96a0d18416d2627c493f7dc9bc5324901

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cpufreq: ondemandplus: pin timers to associated CPU

Based on interactive governor commit by Todd Poynor:
https://android.googlesource.com/kernel/common.git/+/430d3d4539a0d441679ca32cc7c3876f97a07da6

Signed-off-by: Dan Trifan <jimsth@gmail.com>
cgroup/timer_slack: fix cgroup permission errors

Since the common mounting of cpu and timer_slack into /dev/cpuctl
in commit
https://github.com/boype/kernel_tuna_jb42/commit/f23ab456002c2d3b416260862dbfdb82b031a450
the Android OS cannot move processes across cgoups anymore:

    W/SchedPolicy( 1180): add_tid_to_cgroup failed to write '5949'
    (Permission denied); policy=0

Fix this by implementing an 'allow_attach' handler, according to
this commit:
https://github.com/boype/kernel_tuna_jb42/commit/bb5b603036b99d80527b222dc98eba4ee8341020

Signed-off-by: Boy Petersen <boypetersen@gmail.com>
Signed-off-by: Dan Trifan <jimsth@gmail.com>
kernel/sched: get rid of some things that shouldn`t be there

Signed-off-by: Dan Trifan <jimsth@gmail.com>
arch:arm:configs: disable SCHED_MC

Signed-off-by: Dan Trifan <jimsth@gmail.com>