aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-10-14 17:24:18 -0700
committerMartin K. Petersen <[email protected]>2022-10-18 03:20:31 +0000
commitf93ed747e2c7e6bfbf309291879b33b0d0231a7d (patch)
tree56d0dd67fcfbcf98cf159e74f896230eb256e053 /tools/perf/scripts/python/net_dropmonitor.py
parent195fae206ef20a29b09f281b6db8ea30fafaa908 (diff)
scsi: core: Release SCSI devices synchronously
All upstream scsi_device_put() calls happen from thread context. Hence simplify scsi_device_put() by always calling the release function synchronously. This commit prepares for constifying the SCSI host template by removing an assignment that clears the module pointer in the SCSI host template. scsi_device_dev_release_usercontext() was introduced in 2006 via commit 65110b216895 ("[SCSI] fix wrong context bugs in SCSI"). Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: John Garry <[email protected]> Cc: Mike Christie <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions