From 3e444b919629d0bbaa89e67650f41f909d7b0b67 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 14 May 2016 23:06:59 +0300 Subject: [PATCH] pandora-state: reduce watchdog interval more wakeups --- recipes/pandora-system/pandora-state.bb | 2 +- recipes/pandora-system/pandora-state/rc.pandora-state | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5