Skip to content

Commit

Permalink
Super Milestone 1
Browse files Browse the repository at this point in the history
This may most probably be the final build for 4.2.2 mr1.1. The kernel is fully functional and stable and does not require further improvements or bugfixes anymore.
Further updates of this branch will only include Linux Vanilla patches/Android's tuna repository. Because there are many disrepancies with this version with AMPlug,
AMPlug is unfortunately discontinued for the addition into this kernel. Development will still continue on 4.3. With this commit, tweaking commits will now cease,
Updating of this branch will be only incremental with Linux vanilla.

Cheers.

Signed-off-by: Amperific <[email protected]>
  • Loading branch information
Amperific committed Aug 1, 2013
1 parent 24b1093 commit c5afdd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Binary file modified arch/arm/boot/compressed/piggy.xzkern
Binary file not shown.
16 changes: 8 additions & 8 deletions drivers/cpufreq/cpufreq_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,20 @@
#include <linux/err.h>
#include <linux/slab.h>

/* greater than 80% avg load across online CPUs increases frequency */
#define DEFAULT_UP_FREQ_MIN_LOAD (80)
/* greater than 85% avg load across online CPUs increases frequency */
#define DEFAULT_UP_FREQ_MIN_LOAD (85)

/* Keep 10% of idle under the up threshold when decreasing the frequency */
#define DEFAULT_FREQ_DOWN_DIFFERENTIAL (10)
/* Keep 12% of idle under the up threshold when decreasing the frequency */
#define DEFAULT_FREQ_DOWN_DIFFERENTIAL (12)

/* less than 35% avg load across online CPUs decreases frequency */
#define DEFAULT_DOWN_FREQ_MAX_LOAD (35)
/* less than 40% avg load across online CPUs decreases frequency */
#define DEFAULT_DOWN_FREQ_MAX_LOAD (40)

/* default sampling period (uSec) is bogus; 10x ondemand's default for x86 */
#define DEFAULT_SAMPLING_PERIOD (100000)

/* default number of sampling periods to average before hotplug-in decision */
#define DEFAULT_HOTPLUG_IN_SAMPLING_PERIODS (5)
#define DEFAULT_HOTPLUG_IN_SAMPLING_PERIODS (8)

/* default number of sampling periods to average before hotplug-out decision */
#define DEFAULT_HOTPLUG_OUT_SAMPLING_PERIODS (20)
Expand All @@ -56,7 +56,7 @@ static int cpufreq_governor_dbs(struct cpufreq_policy *policy,
static
#endif
struct cpufreq_governor cpufreq_gov_hotplug = {
.name = "hotplug",
.name = "amplug",
.governor = cpufreq_governor_dbs,
.owner = THIS_MODULE,
};
Expand Down

0 comments on commit c5afdd3

Please sign in to comment.