Re: [PATCH] virtio_balloon: use non-blocking allocation

2018-01-31 Thread Michael S. Tsirkin
On Wed, Jan 31, 2018 at 08:13:26PM +0900, Tetsuo Handa wrote: > Michael S. Tsirkin wrote: > > On Tue, Jan 02, 2018 at 11:50:21PM +0900, Tetsuo Handa wrote: > > > Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to > > > avoid OOM lockup by moving memory allocations to outside o

Re: [PATCH] virtio_balloon: use non-blocking allocation

2018-01-31 Thread Tetsuo Handa
Michael S. Tsirkin wrote: > On Tue, Jan 02, 2018 at 11:50:21PM +0900, Tetsuo Handa wrote: > > Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to > > avoid OOM lockup by moving memory allocations to outside of balloon_lock. > > > > Now, Wei is trying to allocate far more pages

Re: [PATCH] virtio_balloon: use non-blocking allocation

2018-01-30 Thread Michael S. Tsirkin
On Tue, Jan 02, 2018 at 11:50:21PM +0900, Tetsuo Handa wrote: > Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to > avoid OOM lockup by moving memory allocations to outside of balloon_lock. > > Now, Wei is trying to allocate far more pages outside of balloon_lock and > some

Re: [PATCH] virtio_balloon: use non-blocking allocation

2018-01-03 Thread Wei Wang
On 01/02/2018 10:50 PM, Tetsuo Handa wrote: Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to avoid OOM lockup by moving memory allocations to outside of balloon_lock. Now, Wei is trying to allocate far more pages outside of balloon_lock and some more memory inside of ball

[PATCH] virtio_balloon: use non-blocking allocation

2018-01-02 Thread Tetsuo Handa
Commit c7cdff0e864713a0 ("virtio_balloon: fix deadlock on OOM") tried to avoid OOM lockup by moving memory allocations to outside of balloon_lock. Now, Wei is trying to allocate far more pages outside of balloon_lock and some more memory inside of balloon_lock in order to perform efficient communi