Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 149961 Details for
Bug 206366
[RHEL5 Beta1]: sysrq-t incurs a bogus softlockup warning
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL5 fix for this issue
softlockup.patch (text/plain), 2.28 KB, created by
Prarit Bhargava
on 2007-03-13 17:54:28 UTC
(
hide
)
Description:
RHEL5 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-03-13 17:54:28 UTC
Size:
2.28 KB
patch
obsolete
>There are some debug situations when soft lockup warnings are expected in the >kernel. For example when doing an alt-sysrq-t on a large number of processes >the dump to console can take a long time and spinlocks may be held over that >period. > >This patch introduces touch_all_softlockup_watchdogs in order to touch all >cpu's touch_timestamp so that the soft lockup warning message is avoided. > >diff -urNp -X linux-2.6.18.ia64/Documentation/dontdiff linux-2.6.18.ia64.orig/include/linux/sched.h linux-2.6.18.ia64/include/linux/sched.h >--- linux-2.6.18.ia64.orig/include/linux/sched.h 2007-03-12 05:47:49.000000000 -0400 >+++ linux-2.6.18.ia64/include/linux/sched.h 2007-03-12 14:35:11.000000000 -0400 >@@ -216,6 +216,7 @@ extern void scheduler_tick(void); > extern void softlockup_tick(void); > extern void spawn_softlockup_task(void); > extern void touch_softlockup_watchdog(void); >+extern void touch_all_softlockup_watchdogs(void); > #else > static inline void softlockup_tick(void) > { >diff -urNp -X linux-2.6.18.ia64/Documentation/dontdiff linux-2.6.18.ia64.orig/kernel/sched.c linux-2.6.18.ia64/kernel/sched.c >--- linux-2.6.18.ia64.orig/kernel/sched.c 2007-03-12 05:47:49.000000000 -0400 >+++ linux-2.6.18.ia64/kernel/sched.c 2007-03-13 11:20:32.000000000 -0400 >@@ -4802,6 +4802,9 @@ void show_state(void) > touch_nmi_watchdog(); > show_task(p); > } while_each_thread(g, p); >+#if defined(CONFIG_DETECT_SOFTLOCKUP) >+ touch_all_softlockup_watchdogs(); >+#endif > > read_unlock(&tasklist_lock); > debug_show_all_locks(); >diff -urNp -X linux-2.6.18.ia64/Documentation/dontdiff linux-2.6.18.ia64.orig/kernel/softlockup.c linux-2.6.18.ia64/kernel/softlockup.c >--- linux-2.6.18.ia64.orig/kernel/softlockup.c 2007-03-12 05:47:49.000000000 -0400 >+++ linux-2.6.18.ia64/kernel/softlockup.c 2007-03-13 13:51:26.000000000 -0400 >@@ -8,6 +8,7 @@ > */ > #include <linux/mm.h> > #include <linux/cpu.h> >+#include <linux/cpumask.h> > #include <linux/init.h> > #include <linux/delay.h> > #include <linux/kthread.h> >@@ -40,6 +41,14 @@ void touch_softlockup_watchdog(void) > } > EXPORT_SYMBOL(touch_softlockup_watchdog); > >+void touch_all_softlockup_watchdogs(void) >+{ >+ int cpu; >+ >+ for_each_possible_cpu(cpu) >+ per_cpu(touch_timestamp, cpu) = jiffies; >+} >+ > /* > * This callback runs from the timer interrupt, and checks > * whether the watchdog thread has hung or not:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206366
:
136213
|
149958
|
149959
|
149961
|
149963
|
150074
|
150075
|
151651
|
161096
|
161097
|
161098
|
161099