Re: [PATCH UPDATED 1/3] vhost: replace vhost_workqueue with per-vhost kthread
From: Tejun Heo <tj@kernel.org>
Date: 2010-07-26 19:15:18
Also in:
kvm, lkml
From: Tejun Heo <tj@kernel.org>
Date: 2010-07-26 19:15:18
Also in:
kvm, lkml
On 07/26/2010 06:51 PM, Michael S. Tsirkin wrote:
On Mon, Jul 26, 2010 at 06:14:30PM +0200, Tejun Heo wrote:quoted
Just one more thing.I noticed that with vhost, flush_work was getting the worker pointer as well. Can we live with this API change?
Yeah, the flushing mechanism wouldn't work reliably if the work is queued to a different worker without flushing, so yeah passing in @worker might actually be better. Thanks. -- tejun