From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753872Ab0CYSV1 (ORCPT ); Thu, 25 Mar 2010 14:21:27 -0400 Received: from casper.infradead.org ([85.118.1.10]:44231 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751529Ab0CYSVZ (ORCPT ); Thu, 25 Mar 2010 14:21:25 -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 In-Reply-To: References: <20100324190150.GA18803@basil.fritz.box> <20100325003652.GG20695@one.firstfloor.org> <20100325093744.GH20695@one.firstfloor.org> <1269539254.12097.100.camel@laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Mar 2010 19:21:22 +0100 Message-ID: <1269541282.12097.106.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 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. But yeah, there's funky hardware around, but I think we should provide more incentives to keep modern hardware drivers saner.