summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@nvidia.com>2026-06-10 03:01:44 +0300
committerJason Gunthorpe <jgg@nvidia.com>2026-06-11 21:36:09 +0300
commitddbc251be18fb82884ee6e9af634cc9f1171a4d6 (patch)
treeb671dfa175c8be023d12be0efee7fd4ea9352584 /include/linux/stacktrace.h
parent8c76126b866649d8e8acc09a06f2b03b6ff88900 (diff)
downloadlinux-ddbc251be18fb82884ee6e9af634cc9f1171a4d6.tar.xz
RDMA/core: Add ib_frmr_pool_drop for unrecoverable handles
A driver that has popped a handle from an FRMR pool can hit failures that leave the handle in a state where it can't safely be returned for reuse. The driver destroys the handle itself, but the pool has no way to learn about it, so the in_use counter drifts upward. Add ib_frmr_pool_drop to balance the pool's accounting in this case. Every pop is now balanced by exactly one push or drop. Fixes: 36680ef7bceb ("RDMA/mlx5: Switch from MR cache to FRMR pools") Link: https://patch.msgid.link/r/20260610000145.820592-9-michaelgur@nvidia.com Signed-off-by: Michael Guralnik <michaelgur@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions