lkml.org 
[lkml]   [2010]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: pci_get_dev_by_id() from interrupt handlers
From
Date
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.



\
 
 \ /
  Last update: 2010-04-21 12:23    [W:0.078 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site