Re: [PATCH] virtio_blk: allow re-reading config space at runtime

From: Rusty Russell
Date: Tue Jan 18 2011 - 18:26:25 EST


On Tue, 18 Jan 2011 10:57:51 pm Christoph Hellwig wrote:
> On Tue, Jan 18, 2011 at 11:38:50AM +1030, Rusty Russell wrote:
> > I think we need to do better than this. What would it take?
>
> I don't think we have much choice. We're getting called from irq
> context, so we'll need to allocate memory to offload things. That's
> unless we keep a thread around that we just need to wake up, which
> would be a huge waste of ressources.

Yes, but can we keep a workqueue struct around?

Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/