summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorKenneth Lee <liguozhu@hisilicon.com>2017-01-05 15:00:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-01 08:33:12 +0100
commitc81ee4ed9c0d49514254487eb037548dd5e25ef8 (patch)
treed0a0c276fbdca570bfecff0695984936a46b98c3 /include/linux/fpga/fpga-mgr.h
parentd7c3d7e453b70e9e9e81d8409e5f8c004597ec05 (diff)
IB/umem: Release pid in error and ODP flow
commit 828f6fa65ce7e80f77f5ab12942e44eb3d9d174e upstream. 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@hisilicon.com> Reviewed-by: Haggai Eran <haggaie@mellanox.com> Reviewed-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions