summaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorArtemy Kovalyov <artemyko@mellanox.com>2017-04-05 09:23:51 +0300
committerDoug Ledford <dledford@redhat.com>2017-04-25 15:40:28 -0400
commitbd174fc2ca63f1c833a09f930796d789fb1f5361 (patch)
tree412988c919303bc48fce6a4ef10b6d8271f642e9 /scripts/gcc-plugins/sancov_plugin.c
parent3e7e1193e28a1428e857f3f44870ec2dbd615e6a (diff)
downloadlinux-bd174fc2ca63f1c833a09f930796d789fb1f5361.tar.bz2
IB/mlx5: Fix function updating xlt emergency path
In memory shortage path we fall back to use spare buffer. mlx5_ib_update_xlt() called from ib_uverbs_reg_mr when ibmr.ucontext not initialized yet. Scenario how to test it: 1. trigger memory exhaustion so __get_free_pages(GFP_KERNEL, 4) will fail 2. register MR 3. there should be no kernel oops Fixes: 7d0cc6edcc70 ('IB/mlx5: Add MR cache for large UMR regions') Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions