Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue with per-vhost kthread
From: Tejun Heo <tj@kernel.org>
Date: 2010-07-27 08:22:29
Also in:
kvm, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2010-07-27 08:22:29
Also in:
kvm, lkml
Hello, On 07/26/2010 10:19 PM, Michael S. Tsirkin wrote:
Let's try to define what do we want to achieve then. Do you want code that flushes workers not to block when workers are frozen? How will we handle work submitted when worker is frozen?
As I wrote earlier, it's not necessarily about correctness but rather avoiding unnecessary surprises and of course flushing can and should stall if the queue is frozen but let's not separate execution of a work and its completion with something which can take undeterminate amount of time. Thanks. -- tejun