]> git.openpandora.org Git - openpandora.oe.git/commitdiff
pandora-state: reduce watchdog interval
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 14 May 2016 20:06:59 +0000 (23:06 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 14 May 2016 20:13:46 +0000 (23:13 +0300)
more wakeups

recipes/pandora-system/pandora-state.bb
recipes/pandora-system/pandora-state/rc.pandora-state

index c87375abb27bdf344a81e9f719bc1945d6a8f10e..9cf5f04011acc1aaeec92caf2e7b82c3f165eaa5 100755 (executable)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "pandora-scripts"
 
-PR = "r26"
+PR = "r27"
 inherit update-rc.d
 
 INITSCRIPT_NAME = "pandora-state"
index 82fdee7b6e3a16b6d69742ded1b236fd5bc959b6..1995031c6432211f16d41795e5b6580807db8ee8 100644 (file)
@@ -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