Re: [PATCH v3] virtio_balloon: Convert "vballoon" kthread into a workqueue

From: Tejun Heo
Date: Thu Nov 20 2014 - 11:07:55 EST


On Thu, Nov 20, 2014 at 05:03:17PM +0100, Petr Mladek wrote:
...
> @@ -476,7 +460,6 @@ static void virtballoon_remove(struct virtio_device *vdev)
> {
> struct virtio_balloon *vb = vdev->priv;
>
> - kthread_stop(vb->thread);
> remove_common(vb);
> kfree(vb);
> }

Shouldn't the work item be flushed before removal is complete?

Thanks.

--
tejun
--
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/