From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754189Ab0CYSol (ORCPT ); Thu, 25 Mar 2010 14:44:41 -0400 Received: from one.firstfloor.org ([213.235.205.2]:42754 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753674Ab0CYSoj (ORCPT ); Thu, 25 Mar 2010 14:44:39 -0400 Date: Thu, 25 Mar 2010 19:44:37 +0100 From: Andi Kleen To: Peter Zijlstra Cc: Linus Torvalds , Thomas Gleixner , Andi Kleen , x86@kernel.org, LKML , jesse.brandeburg@intel.com, Arjan Van De Ven Subject: Re: [PATCH] Prevent nested interrupts when the IRQ stack is near overflowing v2 Message-ID: <20100325184437.GS20695@one.firstfloor.org> References: <20100325003652.GG20695@one.firstfloor.org> <20100325093744.GH20695@one.firstfloor.org> <1269539254.12097.100.camel@laptop> <1269541282.12097.106.camel@laptop> <1269541438.12097.107.camel@laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1269541438.12097.107.camel@laptop> User-Agent: Mutt/1.4.2.2i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 25, 2010 at 07:23:58PM +0100, Peter Zijlstra wrote: > 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.. % linux-2.6> gid jiffies | wc -l 7569 Good luck. -Andi -- ak@linux.intel.com -- Speaking for myself only.