summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBeau Belgrave <beaub@linux.microsoft.com>2022-03-09 16:11:41 -0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-03-11 11:49:24 -0500
commit7e348b325bc40eb52aead4d57a1f90d33ea834fc (patch)
tree3cf73f757cbc4b1d1a483d8ad8e3fe7ee7306f09 /tools/perf/scripts/python/netdev-times.py
parent3a73333fb370f7b65de9d94c53df503642bda789 (diff)
downloadkernel-7e348b325bc40eb52aead4d57a1f90d33ea834fc.tar.gz
user_events: Prevent dyn_event delete racing with ioctl add/delete
Find user_events always while under the event_mutex and before leaving the lock, add a ref count to the user_event. This ensures that all paths under the event_mutex that check the ref counts will be synchronized. The ioctl add/delete paths are protected by the reg_mutex. However, dyn_event is only protected by the event_mutex. The dyn_event delete path cannot acquire reg_mutex, since that could cause a deadlock between the ioctl delete case acquiring event_mutex after acquiring the reg_mutex. Link: https://lkml.kernel.org/r/20220310001141.1660-1-beaub@linux.microsoft.com Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
c8a93b335365fa61e741ceca4'>[SPARC64]: Access TSB with physical addresses when possible.David S. Miller 2006-03-20[SPARC64]: Increase swapper_tsb size to 32K.David S. Miller 2006-03-20[SPARC64]: Fix incorrect TSB lock bit handling.David S. Miller 2006-03-20[SPARC64]: Dynamically grow TSB in response to RSS growth.David S. Miller 2006-03-20[SPARC64]: Add infrastructure for dynamic TSB sizing.David S. Miller 2006-03-20[SPARC64]: TSB refinements.David S. Miller 2006-03-20[SPARC64]: Move away from virtual page tables, part 1.David S. Miller