Re: [PATCH v8 3/5] virtio_balloon: introduce migration primitivesto balloon pages

From: Peter Zijlstra
Date: Tue Aug 21 2012 - 11:34:35 EST


On Tue, 2012-08-21 at 17:40 +0300, Michael S. Tsirkin wrote:
> > + vb->balloon_status = BALLOON_REMOVAL;
>
> This needs some kind of barrier.
>
> > kthread_stop(vb->thread);

kthread_stop() implies an smp_wmb() [ because it needs to do a wakeup ].
--
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/