diff options
author | Aharon Landau <aharonl@nvidia.com> | 2022-04-04 11:58:04 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-04-04 16:32:02 +0300 |
commit | 1d735eeee63a0beb65180ca0224f239cc0c9f804 (patch) | |
tree | e506be874c520d2d3a99e76db21b9b47e1d86408 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 84c2362fb65d69c721fec0974556378cbb36a62b (diff) | |
download | linux-1d735eeee63a0beb65180ca0224f239cc0c9f804.tar.xz |
RDMA/mlx5: Add a missing update of cache->last_add
Update cache->last_add when returning an MR to the cache so that the cache
work won't remove it.
Fixes: b9358bdbc713 ("RDMA/mlx5: Fix locking in MR cache work queue")
Link: https://lore.kernel.org/r/c99f076fce4b44829d434936bbcd3b5fc4c95020.1649062436.git.leonro@nvidia.com
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions