]> git.baikalelectronics.ru Git - kernel.git/commit
IB/umem: Indicate that process is being terminated
authorArtemy Kovalyov <artemyko@mellanox.com>
Wed, 18 Jan 2017 14:58:08 +0000 (16:58 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 16:41:17 +0000 (11:41 -0500)
commite869dc1aee8165d96e2e6c8746e4b3be8386373a
treeb3aef371511dd496b0534798759ec3214fc7fef3
parent9042038204e33bd9b81ec4042fcc48e31aa2c808
IB/umem: Indicate that process is being terminated

When process is killed while pagefault operation still in progress -
function will fail. In this specific case we don't want any warnings in
dmesg to avoid log analyzers false alerts. So we need distinct error
code for this case.

Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/umem_odp.c