diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2022-06-30 14:04:25 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-07-22 17:43:00 -0300 |
commit | eff6d998ca297cb0b2e53b032a56cf8e04dd8b17 (patch) | |
tree | cc8a85354dd551e1a95eace723997161b5ae3a39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8bb143c53436754b5e939ed648430c71198bc71b (diff) |
RDMA/rxe: Limit the number of calls to each tasklet
Limit the maximum number of calls to each tasklet from rxe_do_task()
before yielding the cpu. When the limit is reached reschedule the tasklet
and exit the calling loop. This patch prevents one tasklet from consuming
100% of a cpu core and causing a deadlock or soft lockup.
Link: https://lore.kernel.org/r/20220630190425.2251-9-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions