From: Ian Jackson Date: Sat, 19 Feb 2011 01:55:52 +0000 (+0000) Subject: hostside: bessar: add some more kernel threads to be given high priority (timer ones... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=29f3e8fa5819a9b8ff931676a99b65cc9b2898be;p=trains.git hostside: bessar: add some more kernel threads to be given high priority (timer ones, mostly). this seems to fix a watchdog failure which happened a few times today after adding (but reproduceable without) udevd --- diff --git a/hostside/serial-irq-priority b/hostside/serial-irq-priority index 3b3350b..bc6b0fd 100755 --- a/hostside/serial-irq-priority +++ b/hostside/serial-irq-priority @@ -9,7 +9,9 @@ exec 3<>$p while read -n 1 <&3 dummy; do - ssd=`start-stop-daemon --stop -t -u root -n irq/4-serial` + for proc in irq/4-serial sirq-timer/0 sirq-hrtimer/0 sirq-high/0; do + + ssd=`start-stop-daemon --stop -t -u root -n $proc` case "$ssd" in "Would send signal 15 to "*.) pid="${ssd##* }" @@ -19,4 +21,6 @@ while read -n 1 <&3 dummy; do *) echo >&2 "start-stop-daemon said $ssd ?"; continue;; esac + done + done