On Wed, May 31, 2017 at 12:44:26PM -0700, Christoph Hellwig wrote: > On Wed, May 31, 2017 at 07:18:19PM +0300, Leon Romanovsky wrote: > > I think that you are hitting the side effect of these commits > > 7d0cc6edcc70 ("IB/mlx5: Add MR cache for large UMR regions") and > > 81713d3788d2 ("IB/mlx5: Add implicit MR support") > > > > Do you have CONFIG_INFINIBAND_ON_DEMAND_PAGING on? Can you disable it > > for the test? > > Eww. Please make sure mlx5 gracefully handles cases where it can't use > crazy amount of memory, including disabling features like the above > at runtime when the required resources aren't available. Right, the real consumer of memory in mlx5_ib is mr_cache, so the question is how can we check in advance if we have enough memory without calling allocations with GFP_NOWARN flag. > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: PGP signature