Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755586AbXJIOje (ORCPT ); Tue, 9 Oct 2007 10:39:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754381AbXJIOi5 (ORCPT ); Tue, 9 Oct 2007 10:38:57 -0400 Received: from 75-130-111-13.dhcp.oxfr.ma.charter.com ([75.130.111.13]:45531 "EHLO novell1.haskins.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754060AbXJIOiz (ORCPT ); Tue, 9 Oct 2007 10:38:55 -0400 From: Gregory Haskins Subject: [PATCH 2/5] RT - fix reschedule IPI To: mingo@elte.hu, linux-rt-users@vger.kernel.org, rostedt@goodmis.org Cc: kravetz@us.ibm.com, linux-kernel@vger.kernel.org, ghaskins@novell.com, pmorreale@novell.com, sdietrich@novell.com Date: Tue, 09 Oct 2007 10:25:54 -0400 Message-ID: <20071009142554.4941.39785.stgit@novell1.haskins.net> In-Reply-To: <20071009142044.4941.65189.stgit@novell1.haskins.net> References: <20071009142044.4941.65189.stgit@novell1.haskins.net> User-Agent: StGIT/0.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 38 From: Mike Kravetz x86_64 based RESCHED_IPIs fail to set the reschedule flag Signed-off-by: Steven Rostedt Signed-off-by: Gregory Haskins --- arch/x86_64/kernel/smp.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86_64/kernel/smp.c b/arch/x86_64/kernel/smp.c index a5bf746..3ce6cad 100644 --- a/arch/x86_64/kernel/smp.c +++ b/arch/x86_64/kernel/smp.c @@ -505,13 +505,13 @@ void smp_send_stop(void) } /* - * Reschedule call back. Nothing to do, - * all the work is done automatically when - * we return from the interrupt. + * Reschedule call back. Trigger a reschedule pass so that + * RT-overload balancing can pass tasks around. */ asmlinkage void smp_reschedule_interrupt(void) { ack_APIC_irq(); + set_tsk_need_resched(current); } asmlinkage void smp_call_function_interrupt(void) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/