diff options
| author | 2022-06-30 14:04:25 -0500 | |
|---|---|---|
| committer | 2022-07-22 17:43:00 -0300 | |
| commit | eff6d998ca297cb0b2e53b032a56cf8e04dd8b17 (patch) | |
| tree | cc8a85354dd551e1a95eace723997161b5ae3a39 /tools/scripts/ssh:/git@git.zx2c4.com | |
| parent | RDMA/rxe: Make the tasklet exits the same (diff) | |
| download | linux-dev-eff6d998ca297cb0b2e53b032a56cf8e04dd8b17.tar.xz linux-dev-eff6d998ca297cb0b2e53b032a56cf8e04dd8b17.zip | |
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/scripts/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
