[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1271845271.1776.74.camel@laptop>
Date: Wed, 21 Apr 2010 12:21:11 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Joerg Roedel <joerg.roedel@....com>
Cc: Greg KH <greg@...ah.com>, Joerg Roedel <joro@...tes.org>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: pci_get_dev_by_id() from interrupt handlers
On Wed, 2010-04-21 at 12:05 +0200, Joerg Roedel wrote:
>
> > Why not do the whole thing in an interrupt task as the whole thing
> > sounds like something that shouldn't be done in interrupt context,
> > right? Now that we have this type of functionality, we should take
> > advantage of it :)
>
> Ok, I think I move the IOMMU interrupt handling to a tasklet.
>
tasklet is softirq context, and is not what gregkh was talking about.
You'd still need to change the klist spinlock to be softirq-safe.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists