Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754052Ab3IEPdc (ORCPT ); Thu, 5 Sep 2013 11:33:32 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:45558 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752206Ab3IEPdb (ORCPT ); Thu, 5 Sep 2013 11:33:31 -0400 From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Benjamin Herrenschmidt , Paul Mackerras , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , "H. Peter Anvin" , Linus Torvalds , James Hogan , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , "David S. Miller" , Andrew Morton Subject: [RFC PATCH 0/3] irq: Fix stack overflow due to softirq called on current stack Date: Thu, 5 Sep 2013 17:33:21 +0200 Message-Id: <1378395204-25342-1-git-send-email-fweisbec@gmail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1378330796.4321.50.camel@pasglop> References: <1378330796.4321.50.camel@pasglop> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1352 Lines: 34 Hi, This series is a proposition to fix the crash reported here: http://lkml.kernel.org/r/1378330796.4321.50.camel%40pasglop And it has the upside to also consolidate a bit the arch do_softirq overriden implementation. Only tested in x86-64 for now. Thanks. Frederic Weisbecker (3): irq: Consolidate do_softirq() arch overriden implementations irq: Execute softirq on its own stack on irq exit irq: Comment on the use of inline stack for ksoftirq arch/metag/kernel/irq.c | 56 +++++++++++++++++------------------------ arch/parisc/kernel/irq.c | 17 +----------- arch/powerpc/kernel/irq.c | 17 +----------- arch/s390/kernel/irq.c | 52 +++++++++++++++---------------------- arch/sh/kernel/irq.c | 60 ++++++++++++++++++------------------------- arch/sparc/kernel/irq_64.c | 31 +++++++--------------- arch/x86/kernel/irq_32.c | 34 +++++++++---------------- arch/x86/kernel/irq_64.c | 18 ++----------- include/linux/interrupt.h | 11 ++++++++ kernel/softirq.c | 10 +++---- 10 files changed, 112 insertions(+), 194 deletions(-) -- 1.7.5.4 -- 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/