aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2020-03-10 10:22:35 +0200
committerJason Gunthorpe <[email protected]>2020-03-13 11:08:01 -0300
commitad2d3ef46d2a88f2906d8d0cc6b912199ec3f1d6 (patch)
treee340c15843e1aa47281a4eebe0b2fa31a3781f62 /tools/perf/scripts/python/syscall-counts.py
parenta1d8854aae4ee19df6161a276a99d3c9c2abc4f3 (diff)
RDMA/mlx5: Lock access to ent->available_mrs/limit when doing queue_work
Accesses to these members needs to be locked. There is no reason not to hold a spinlock while calling queue_work(), so move the tests into a helper and always call it under lock. The helper should be called when available_mrs is adjusted. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions