lkml.org 
[lkml]   [2012]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v8 3/5] virtio_balloon: introduce migration primitives to balloon pages
From
Date
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 ].


\
 
 \ /
  Last update: 2012-08-21 18:21    [W:0.175 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site