Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xen balloon driver rewrite



On Thu, 7 Apr 2011 19:48:34 +0200, Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
Although this is a rare situation, it can happen: one worker is
currently executing a balloon_inflate, while another is created to
handle a deflate. Ouch. Linux fixes that by having a "biglock" mutex
wrapping the balloon handler loop, but I'd like to avoid going down
that route.

Well, workqueue already does it for you: a workqueue can have only one worker
at a time.

That pretty much solves my issue then.

(I really need to have a look down there)

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index