Re: [RFC] create a single workqueue for each vm to update vm irq routing table

Paolo Bonzini
2013-11-26T13:13:55Z

Il 26/11/2013 13:56, Gleb Natapov ha scritto:
> > I don't think a workqueue is even needed. You just need to use call_rcu
> > to free "old" after releasing kvm->irq_lock.
> >
> > What do you think?
>
> It should be rate limited somehow. Since it guest triggarable guest may cause
> host to allocate a lot of memory this way.

True, though if I understand Zhanghaoyu's proposal a workqueue would be
even worse.

Paolo