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 311848 Details for
Bug 455449
FEAT: RHEL 5.3: (2/2) Increase deep idle state residency on idle platforms using Nehalem class processors
[?]
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]
Patch for this bug
broadcast_timer_el5.patch (text/plain), 2.20 KB, created by
John Villalovos
on 2008-07-15 15:37:07 UTC
(
hide
)
Description:
Patch for this bug
Filename:
MIME Type:
Creator:
John Villalovos
Created:
2008-07-15 15:37:07 UTC
Size:
2.20 KB
patch
obsolete
> >Optimize the C3 local APIC timer broadcast logic by sending a IPI broadcast >instead of serial IPI to all the CPUs. > >Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> >Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> > >diff -purN linux-2.6.18.x86_64/arch/i386/kernel/apic.c linux-2.6.18.x86_64.new/arch/i386/kernel/apic.c >--- linux-2.6.18.x86_64/arch/i386/kernel/apic.c 2008-06-24 18:02:22.000000000 -0700 >+++ linux-2.6.18.x86_64.new/arch/i386/kernel/apic.c 2008-07-01 22:41:31.000000000 -0700 >@@ -36,6 +36,7 @@ > #include <asm/hpet.h> > #include <asm/i8253.h> > #include <asm/nmi.h> >+#include <asm/ipi.h> > > #include <mach_apic.h> > #include <mach_apicdef.h> >@@ -1254,20 +1255,26 @@ static void up_apic_timer_interrupt_call > > void smp_send_timer_broadcast_ipi(struct pt_regs *regs) > { >+#ifdef CONFIG_SMP > cpumask_t mask; > >+ if (cpus_equal(cpu_online_map, timer_bcast_ipi)) { >+ __send_IPI_shortcut(APIC_DEST_ALLINC, LOCAL_TIMER_VECTOR); >+ return; >+ } > cpus_and(mask, cpu_online_map, timer_bcast_ipi); > if (!cpus_empty(mask)) { >-#ifdef CONFIG_SMP > send_IPI_mask(mask, LOCAL_TIMER_VECTOR); >+ } > #else >+ if (!cpus_empty(timer_bcast_ipi)) { > /* > * We can directly call the apic timer interrupt handler > * in UP case. Minus all irq related functions > */ > up_apic_timer_interrupt_call(regs); >-#endif > } >+#endif > } > > int setup_profiling_timer(unsigned int multiplier) >diff -purN linux-2.6.18.x86_64/arch/x86_64/kernel/apic.c linux-2.6.18.x86_64.new/arch/x86_64/kernel/apic.c >--- linux-2.6.18.x86_64/arch/x86_64/kernel/apic.c 2008-06-30 23:25:59.000000000 -0700 >+++ linux-2.6.18.x86_64.new/arch/x86_64/kernel/apic.c 2008-07-01 18:43:28.000000000 -0700 >@@ -36,6 +36,7 @@ > #include <asm/idle.h> > #include <asm/proto.h> > #include <asm/timex.h> >+#include <asm/ipi.h> > > int apic_verbosity; > int apic_runs_main_timer; >@@ -897,6 +898,12 @@ void smp_send_timer_broadcast_ipi(void) > { > cpumask_t mask; > >+ if (cpus_equal(cpu_online_map, timer_interrupt_broadcast_ipi_mask)) { >+ __send_IPI_shortcut(APIC_DEST_ALLINC, LOCAL_TIMER_VECTOR, >+ APIC_DEST_LOGICAL); >+ return; >+ } >+ > cpus_and(mask, cpu_online_map, timer_interrupt_broadcast_ipi_mask); > if (!cpus_empty(mask)) { > send_IPI_mask(mask, LOCAL_TIMER_VECTOR);
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 455449
: 311848