aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2023-03-04 11:45:31 -0600
committerJason Gunthorpe <[email protected]>2023-03-24 11:21:36 -0300
commita246aa2e8a6d8919462b7ffe550cbe51d2894152 (patch)
tree48e5b8aabc16cdbb463fb55409c7c9c330464d84 /tools/perf/scripts/python/sched-migration.py
parentfbdeb828a21ff8de045a27ddcfc6ee66201b9a94 (diff)
RDMA/rxe: Remove qp reference counting in tasks
Currently each of the three tasklets requester, completer and responder in the rxe driver take and release a reference to the qp argument at the beginning and end of the subroutines. The caller passing in the qp argument should be responsible for holding a reference to qp so these are not required. Further doing so breaks the qp cleanup code in rxe_qp_do_cleanup which calls these routines after all the references have been dropped so they cannot drain the packet and work request queues as intended. In fact if these routines are deferred by calling tasklet_schedule there is no guarantee that the calling code does have a qp reference. That is a bug in rxe_task.c which will be fixed later in this series. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions