Thread (7 messages) 7 messages, 5 authors, 2011-01-24

Re: [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

From: Chris Metcalf <hidden>
Date: 2011-01-17 13:58:16
Also in: linux-alpha, linux-arch, linux-mips, linux-um, linuxppc-dev, xen-devel

Possibly related (same subject, not in this thread)

On 1/17/2011 6:41 AM, Peter Zijlstra wrote:
quoted hunk ↗ jump to hunk
Index: linux-2.6/arch/tile/kernel/smp.c
===================================================================
--- linux-2.6.orig/arch/tile/kernel/smp.c
+++ linux-2.6/arch/tile/kernel/smp.c
@@ -184,12 +184,8 @@ void flush_icache_range(unsigned long st
 /* Called when smp_send_reschedule() triggers IRQ_RESCHEDULE. */
 static irqreturn_t handle_reschedule_ipi(int irq, void *token)
 {
-       /*
-        * Nothing to do here; when we return from interrupt, the
-        * rescheduling will occur there. But do bump the interrupt
-        * profiler count in the meantime.
-        */
        __get_cpu_var(irq_stat).irq_resched_count++;
+       scheduler_ipi();

        return IRQ_HANDLED;
 }
Acked-by: Chris Metcalf <redacted>

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help