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 151651 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
206366-v3.patch (text/plain), 2.21 KB, created by
Prarit Bhargava
on 2007-04-04 12:06:56 UTC
(
hide
)
Description:
RHEL5 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-04-04 12:06:56 UTC
Size:
2.21 KB
patch
obsolete
>Backport of softlockup watchdog fixes. > >Avoids bogus softlockup message when doing sysrq-t output. > >Currently in -mm tree as add-touch_all_softlockup_watchdogs.patch . > >Resolves BZ 206336. > >Successfully tested by me. > >diff -urNp -X linux-2.6.18.x86_64/Documentation/dontdiff linux-2.6.18.x86_64.orig/include/linux/sched.h linux-2.6.18.x86_64/include/linux/sched.h >--- linux-2.6.18.x86_64.orig/include/linux/sched.h 2007-03-28 09:53:55.000000000 -0400 >+++ linux-2.6.18.x86_64/include/linux/sched.h 2007-04-03 05:24:19.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) > { >@@ -226,6 +227,9 @@ static inline void spawn_softlockup_task > static inline void touch_softlockup_watchdog(void) > { > } >+static inline void touch_all_softlockup_watchdogs(void) >+{ >+} > #endif > > >diff -urNp -X linux-2.6.18.x86_64/Documentation/dontdiff linux-2.6.18.x86_64.orig/kernel/sched.c linux-2.6.18.x86_64/kernel/sched.c >--- linux-2.6.18.x86_64.orig/kernel/sched.c 2007-03-28 09:53:54.000000000 -0400 >+++ linux-2.6.18.x86_64/kernel/sched.c 2007-04-03 05:24:19.000000000 -0400 >@@ -4803,6 +4803,8 @@ void show_state(void) > show_task(p); > } while_each_thread(g, p); > >+ touch_all_softlockup_watchdogs(); >+ > read_unlock(&tasklist_lock); > debug_show_all_locks(); > } >diff -urNp -X linux-2.6.18.x86_64/Documentation/dontdiff linux-2.6.18.x86_64.orig/kernel/softlockup.c linux-2.6.18.x86_64/kernel/softlockup.c >--- linux-2.6.18.x86_64.orig/kernel/softlockup.c 2007-03-28 09:53:54.000000000 -0400 >+++ linux-2.6.18.x86_64/kernel/softlockup.c 2007-04-03 05:24:19.000000000 -0400 >@@ -40,6 +40,16 @@ void touch_softlockup_watchdog(void) > } > EXPORT_SYMBOL(touch_softlockup_watchdog); > >+void touch_all_softlockup_watchdogs(void) >+{ >+ int cpu; >+ >+ /* Cause each CPU to re-update its timestamp rather than complain */ >+ for_each_online_cpu(cpu) >+ per_cpu(touch_timestamp, cpu) = jiffies; >+} >+EXPORT_SYMBOL(touch_all_softlockup_watchdogs); >+ > /* > * 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