Re: [PATCH v4] IB/umem: Release pid in error and ODP flow
From: Leon Romanovsky
Date: Thu Jan 05 2017 - 01:40:51 EST
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 demand paging regions")
> Signed-off-by: Kenneth Lee <liguozhu@xxxxxxxxxxxxx>
> Reviewed-by: Haggai Eran <haggaie@xxxxxxxxxxxx>
Thanks a lot for resending.
Reviewed-by: Leon Romanovsky <leon@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature