From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946Ab0CYSYG (ORCPT ); Thu, 25 Mar 2010 14:24:06 -0400 Received: from casper.infradead.org ([85.118.1.10]:51660 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753644Ab0CYSYC (ORCPT ); Thu, 25 Mar 2010 14:24:02 -0400 Subject: Re: [PATCH] Prevent nested interrupts when the IRQ stack is near overflowing v2 From: Peter Zijlstra To: Linus Torvalds Cc: Thomas Gleixner , Andi Kleen , x86@kernel.org, LKML , jesse.brandeburg@intel.com, Arjan Van De Ven In-Reply-To: <1269541282.12097.106.camel@laptop> References: <20100324190150.GA18803@basil.fritz.box> <20100325003652.GG20695@one.firstfloor.org> <20100325093744.GH20695@one.firstfloor.org> <1269539254.12097.100.camel@laptop> <1269541282.12097.106.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Mar 2010 19:23:58 +0100 Message-ID: <1269541438.12097.107.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-03-25 at 19:21 +0100, Peter Zijlstra wrote: > On Thu, 2010-03-25 at 11:01 -0700, Linus Torvalds wrote: > > Are there any cases around > > that still have busy-loop delays based on real-time in their irq handlers? > > I simply don't know. > > I recently found a few in drivers/net/ there's all kinds of funny stuff > in there.. not sure how common the matching hardware is though. > > One thing we could do is instrument jiffies to yell when its used from > hardirq context and fix up these things. Also, Arjan mentioned he wanted to sweep the kernel for jiffies users and convert them to timer interfaces..