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 ].