aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/rdma_vt.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-05-23 14:38:13 +0300
committerDoug Ledford <dledford@redhat.com>2017-07-17 21:21:23 -0400
commitd83187dda9b930dc268ab05da265f3d5d7eca451 (patch)
tree8105c2e2eaab71f8a331753ca29f193ff865a510 /include/rdma/rdma_vt.h
parentIB/IPoIB: Forward MTU change to driver below (diff)
downloadlinux-dev-d83187dda9b930dc268ab05da265f3d5d7eca451.tar.xz
linux-dev-d83187dda9b930dc268ab05da265f3d5d7eca451.zip
IB/IPoIB: Convert IPoIB to memalloc_noio_* calls
Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O during memory allocation") added the memalloc_noio_(save|restore) functions to enable people to modify the MM behavior by disabling I/O during memory allocation. This was further extended in Fixes: 934f3072c17c ("mm: clear __GFP_FS when PF_MEMALLOC_NOIO is set"). memalloc_noio_* functions prevent allocation paths recursing back into the filesystem without explicitly changing the flags for every allocation site. However the IPoIB hasn't been keeping up with the changes and missed completely these memalloc_noio_* calls. This led to update of allocation site with special QP creation flag, see commit 09b93088d750 ("IB: Add a QP creation flag to use GFP_NOIO allocations"), while this flag is supported by small number of drivers in IB stack. Let's change it by updating to memalloc_noio_* calls and allow for every driver underneath enjoy NOIO allocations. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/rdma_vt.h')
0 files changed, 0 insertions, 0 deletions