Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305748

Re: [PATCH 2/2] virtio_balloon: fix race between migration and ballooning

From Minchan Kim <minchan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] virtio_balloon: fix race between migration and ballooning
Date 2016-01-11 01:00 +0100
Message-ID <qPy3V-2Gd-13@gated-at.bofh.it> (permalink)
References <qKw2J-3Io-13@gated-at.bofh.it> <qKw2M-3Io-97@gated-at.bofh.it> <qM4lH-ob-7@gated-at.bofh.it> <qN1c6-4fx-9@gated-at.bofh.it> <qPw26-1mc-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jan 10, 2016 at 11:40:17PM +0200, Michael S. Tsirkin wrote:
> On Mon, Jan 04, 2016 at 09:27:47AM +0900, Minchan Kim wrote:
> > > I think this will cause deadlocks.
> > > 
> > > pages_lock now nests within page lock, balloon_page_putback
> > > nests them in the reverse order.
> > 
> > In balloon_page_dequeu, we used trylock so I don't think it's
> > deadlock.
> 
> I went over this again and I don't see the issue anymore.
> I think I was mistaken, so I dropped my patch and picked
> up yours. Sorry about the noise.

No problem. Thanks for the review.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] virtio_balloon: fix race between migration and  ballooning Minchan Kim <minchan@kernel.org> - 2016-01-04 01:30 +0100
  Re: [PATCH 2/2] virtio_balloon: fix race between migration and  ballooning "Michael S. Tsirkin" <mst@redhat.com> - 2016-01-10 22:50 +0100
    Re: [PATCH 2/2] virtio_balloon: fix race between migration and  ballooning Minchan Kim <minchan@kernel.org> - 2016-01-11 01:00 +0100

csiph-web