[PATCH 007/18] kdb-touch-nmi-watchdog
quilt at tsunami.ccur.com
quilt at tsunami.ccur.com
Thu Jul 10 13:25:03 PDT 2008
Touch NMI watchdog in various KDB busy-loops.
Various places where, for example, KDB writes
out data to the terminal may take so long that
the NMI watchdog timer expires, panicing the
kernel. So touch the NMI watchdog timer on
each iteration through such loops.
Author: Jim Houston <jim.houston at ccur.com>
Signed-off-by: Joe Korty <joe.korty at ccur.com>
Index: 2.6.26-rc9/kdb/kdb_io.c
===================================================================
--- 2.6.26-rc9.orig/kdb/kdb_io.c 2008-07-10 12:14:15.000000000 -0400
+++ 2.6.26-rc9/kdb/kdb_io.c 2008-07-10 13:27:33.000000000 -0400
@@ -664,6 +664,7 @@
while (c) {
c->write(c, kdb_buffer, strlen(kdb_buffer));
+ touch_nmi_watchdog();
c = c->next;
}
if (logging) {
@@ -720,6 +721,7 @@
while (c) {
c->write(c, moreprompt, strlen(moreprompt));
+ touch_nmi_watchdog();
c = c->next;
}
---------------------------
Use http://oss.sgi.com/ecartis to modify your settings or to unsubscribe.
More information about the kdb
mailing list