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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/