Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753285Ab3IEWT4 (ORCPT ); Thu, 5 Sep 2013 18:19:56 -0400 Received: from gate.crashing.org ([63.228.1.57]:41532 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572Ab3IEWTy (ORCPT ); Thu, 5 Sep 2013 18:19:54 -0400 Message-ID: <1378419504.4321.194.camel@pasglop> Subject: Re: [RFC PATCH 0/3] irq: Fix stack overflow due to softirq called on current stack From: Benjamin Herrenschmidt To: Frederic Weisbecker Cc: LKML , 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 Date: Fri, 06 Sep 2013 08:18:24 +1000 In-Reply-To: <1378395204-25342-1-git-send-email-fweisbec@gmail.com> References: <1378330796.4321.50.camel@pasglop> <1378395204-25342-1-git-send-email-fweisbec@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1684 Lines: 42 On Thu, 2013-09-05 at 17:33 +0200, Frederic Weisbecker wrote: > 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. I'm off for a few days, Paul can you give that a spin ? My understanding is that the crash was fairly reproduceable... which makes me wonder what are the chances to get RH to pick that series up for RHEL7... Cheers, Ben. > 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(-) > -- 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/