aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorTim Sell <[email protected]>2016-06-10 21:48:07 -0400
committerGreg Kroah-Hartman <[email protected]>2016-08-15 20:44:24 +0200
commit83011b6cbe7c597c73b31c41021dc71f78dcef7b (patch)
treec3c2d8dae8278f2680c3c9a08d7f1a8d18b2bb71 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentc3d4a970333fcece2376c865572e2f835f8f3f4d (diff)
staging: unisys: visorinput: remove unnecessary locking
Locking in the _interrupt() function is NOT necessary so long as we ensure that interrupts have been stopped whenever we need to pause or resume the device, which we now do. While a device is paused, we ensure that interrupts stay disabled, i.e. that the _interrupt() function will NOT be called, yet remember the desired state in devdata->interrupts_enabled if open() or close() are called are called while the device is paused. Then when the device is resumed, we restore the actual state of interrupts (i.e., whether _interrupt() is going to be called or not) to the desired state in devdata->interrupts_enabled. Signed-off-by: Tim Sell <[email protected]> Signed-off-by: David Kershner <[email protected]> Acked-By: Neil Horman <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions