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 270051 Details for
Bug 394581
Enforce report_lost_ticks boot time parameter in time.c
[?]
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
394581.patch (text/plain), 1.18 KB, created by
Prarit Bhargava
on 2007-11-27 18:48:50 UTC
(
hide
)
Description:
RHEL5 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-11-27 18:48:50 UTC
Size:
1.18 KB
patch
obsolete
>Make lost tick warning use report_lost_ticks boot line option. > >Not upstream as upstream has moved beyond this codebase. > >Successfully compiled and tested by me and reporting customer. > >diff -urNp -X linux-2.6.18.x86_64/Documentation/dontdiff linux-2.6.18.x86_64.orig/arch/x86_64/kernel/time.c linux-2.6.18.x86_64/arch/x86_64/kernel/time.c >--- linux-2.6.18.x86_64.orig/arch/x86_64/kernel/time.c 2007-11-27 10:19:47.000000000 -0500 >+++ linux-2.6.18.x86_64/arch/x86_64/kernel/time.c 2007-11-27 11:35:42.000000000 -0500 >@@ -331,7 +331,7 @@ static noinline void handle_lost_ticks(i > print_symbol("rip %s)\n", regs->rip); > } > >- if (lost_count == 1000 && !warned) { >+ if (lost_count == 1000 && !warned && report_lost_ticks) { > printk(KERN_WARNING "warning: many lost ticks.\n" > KERN_WARNING "Your time source seems to be instable or " > "some driver is hogging interupts\n"); >@@ -648,7 +648,7 @@ static void cpufreq_delayed_get(void) > static int warned; > if (cpufreq_init && !cpufreq_delayed_issched) { > cpufreq_delayed_issched = 1; >- if (!warned) { >+ if (!warned && report_lost_ticks) { > warned = 1; > printk(KERN_DEBUG > "Losing some ticks... checking if CPU frequency changed.\n");
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 394581
:
266131
| 270051