Re: [PATCH v4] IB/umem: Release pid in error and ODP flow

2017-01-24 Thread Doug Ledford
On Thu, 2017-01-05 at 08:39 +0200, Leon Romanovsky wrote: > On Thu, Jan 05, 2017 at 03:00:05PM +0800, Kenneth Lee wrote: > > > > 1. Release pid before enter odp flow > > 2. Release pid when fail to allocate memory > > > > Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm- > > >pinne

Re: [PATCH v4] IB/umem: Release pid in error and ODP flow

2017-01-04 Thread Leon Romanovsky
On Thu, Jan 05, 2017 at 03:00:05PM +0800, Kenneth Lee wrote: > 1. Release pid before enter odp flow > 2. Release pid when fail to allocate memory > > Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm > from ib_umem_get") > Fixes: 8ada2c1c0c1d ("IB/core: Add support for on

[PATCH v4] IB/umem: Release pid in error and ODP flow

2017-01-04 Thread Kenneth Lee
1. Release pid before enter odp flow 2. Release pid when fail to allocate memory Fixes: 87773dd56d54 ("IB: ib_umem_release() should decrement mm->pinned_vm from ib_umem_get") Fixes: 8ada2c1c0c1d ("IB/core: Add support for on demand paging regions") Signed-off-by: Kenneth Lee Reviewed-by: Haggai