aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichael J. Ruhl <[email protected]>2017-08-04 13:52:38 -0700
committerDoug Ledford <[email protected]>2017-08-22 14:22:36 -0400
commitf2a3bc00a03c2cc9caa40c8867de973fd4e48c6a (patch)
tree509797e5304e6d1e3a5165036582b5e0a6ae2a28 /tools/perf/scripts/python/bin
parent64a296f579303322ebec9edae09cf87240b1ad78 (diff)
IB/hfi1: Protect context array set/clear with spinlock
The rcd array can be accessed from user context or during interrupts. Protecting this with a mutex isn't a good idea because the mutex should not be used from an IRQ. Protect the allocation and freeing of rcd array elements with a spinlock. Reviewed-by: Mike Marciniszyn <[email protected]> Reviewed-by: Sebastian Sanchez <[email protected]> Signed-off-by: Michael J. Ruhl <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions