Skip to content

Commit

Permalink
Set OOM on wake to aggressive set.
Browse files Browse the repository at this point in the history
2048,4096,8192,16384,24576,32768
  • Loading branch information
dorimanx committed Oct 18, 2013
1 parent 6e836c8 commit c688265
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion res/customconfig/battery.profile
Expand Up @@ -111,7 +111,7 @@ cortexbrain_read_ahead_kb=0
scheduler=bfq
sleep_scheduler=bfq
auto_oom=on
oom_config_screen_on=default
oom_config_screen_on=aggressive
oom_config_screen_off=medium
dirty_background_ratio=15
dirty_ratio=20
Expand Down
2 changes: 1 addition & 1 deletion res/customconfig/default.profile
Expand Up @@ -111,7 +111,7 @@ cortexbrain_read_ahead_kb=0
scheduler=bfq
sleep_scheduler=bfq
auto_oom=on
oom_config_screen_on=default
oom_config_screen_on=aggressive
oom_config_screen_off=medium
dirty_background_ratio=15
dirty_ratio=20
Expand Down
2 changes: 1 addition & 1 deletion res/customconfig/extreme_battery.profile
Expand Up @@ -111,7 +111,7 @@ cortexbrain_read_ahead_kb=0
scheduler=bfq
sleep_scheduler=bfq
auto_oom=on
oom_config_screen_on=default
oom_config_screen_on=aggressive
oom_config_screen_off=medium
dirty_background_ratio=15
dirty_ratio=20
Expand Down
2 changes: 1 addition & 1 deletion res/customconfig/extreme_performance.profile
Expand Up @@ -111,7 +111,7 @@ cortexbrain_read_ahead_kb=0
scheduler=bfq
sleep_scheduler=bfq
auto_oom=on
oom_config_screen_on=default
oom_config_screen_on=aggressive
oom_config_screen_off=medium
dirty_background_ratio=15
dirty_ratio=20
Expand Down
2 changes: 1 addition & 1 deletion res/customconfig/performance.profile
Expand Up @@ -111,7 +111,7 @@ cortexbrain_read_ahead_kb=0
scheduler=bfq
sleep_scheduler=bfq
auto_oom=on
oom_config_screen_on=default
oom_config_screen_on=aggressive
oom_config_screen_off=medium
dirty_background_ratio=15
dirty_ratio=20
Expand Down
2 changes: 1 addition & 1 deletion sbin/ext/post-init.sh
Expand Up @@ -62,7 +62,7 @@ fi;

# reset profiles auto trigger to be used by kernel ADMIN, in case of need, if new value added in default profiles
# just set numer $RESET_MAGIC + 1 and profiles will be reset one time on next boot with new kernel.
RESET_MAGIC=3;
RESET_MAGIC=4;
if [ ! -e /data/.siyah/reset_profiles ]; then
echo "0" > /data/.siyah/reset_profiles;
fi;
Expand Down

0 comments on commit c688265

Please sign in to comment.