From: Grazvydas Ignotas Date: Sat, 14 May 2016 20:06:59 +0000 (+0300) Subject: pandora-state: reduce watchdog interval X-Git-Tag: sz_175~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=3e444b919629d0bbaa89e67650f41f909d7b0b67 pandora-state: reduce watchdog interval more wakeups --- diff --git a/recipes/pandora-system/pandora-state.bb b/recipes/pandora-system/pandora-state.bb index c87375a..9cf5f04 100755 --- a/recipes/pandora-system/pandora-state.bb +++ b/recipes/pandora-system/pandora-state.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "pandora-scripts" -PR = "r26" +PR = "r27" inherit update-rc.d INITSCRIPT_NAME = "pandora-state" diff --git a/recipes/pandora-system/pandora-state/rc.pandora-state b/recipes/pandora-system/pandora-state/rc.pandora-state index 82fdee7..1995031 100644 --- a/recipes/pandora-system/pandora-state/rc.pandora-state +++ b/recipes/pandora-system/pandora-state/rc.pandora-state @@ -135,6 +135,10 @@ d_start() { # remove the mmap limit, useful for emulators echo 0 > /proc/sys/vm/mmap_min_addr + + # reduce watchdog threshold to reduce CPU wakeups - it's a debugging feature + # interval = watchdog_thresh * 2 / 5 + echo 60 > /proc/sys/kernel/watchdog_thresh } case "$1" in