Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750837Ab3IXEoT (ORCPT ); Tue, 24 Sep 2013 00:44:19 -0400 Received: from gate.crashing.org ([63.228.1.57]:42363 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750705Ab3IXEoR (ORCPT ); Tue, 24 Sep 2013 00:44:17 -0400 Message-ID: <1379997777.5443.24.camel@pasglop> Subject: Re: [RFC GIT PULL] softirq: Consolidation and stack overrun fix From: Benjamin Herrenschmidt To: Frederic Weisbecker Cc: Linus Torvalds , Thomas Gleixner , LKML , Paul Mackerras , Ingo Molnar , Peter Zijlstra , "H. Peter Anvin" , James Hogan , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , "David S. Miller" , Andrew Morton Date: Tue, 24 Sep 2013 14:42:57 +1000 In-Reply-To: <20130924024422.GA13923@localhost.localdomain> References: <1379620267-25191-1-git-send-email-fweisbec@gmail.com> <20130920162603.GA30381@localhost.localdomain> <1379799901.24090.6.camel@pasglop> <1379911234.6625.7.camel@pasglop> <20130924024422.GA13923@localhost.localdomain> 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: 952 Lines: 28 On Tue, 2013-09-24 at 04:44 +0200, Frederic Weisbecker wrote: > So the safest way to fix this is to unconditionally call do_softirq() > from irq_exit(). > A performance penalty may come along but safety primes. > > We should probably do that and work on longer term solutions (Kconfig > based arch switch, etc...) > for the next merge window? As you prefer, though I'm keen on getting the "fast" version in RHEL7 if RH will take it :-) >From the generic code POV, it's a one-liner #ifdef to select between do_softirq and __do_softirq() right ? Then it's up to the arch to #define I_CAN_DO_FAST ! > I'll respin the series plus the regression fix, unless somebody has a > better solution. Cheers, Ben. -- 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/