aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2020-09-13 12:47:29 -0700
committerWei Liu <[email protected]>2020-09-14 11:42:33 +0000
commit911e1987efc8f3e6445955fbae7f54b428b92bd3 (patch)
treef513da7f15a88350919e084894fe41f00b5f3991 /tools/perf/scripts/python/sched-migration.py
parent19873eec7e13fda140a0ebc75d6664e57c00bfb1 (diff)
Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
vmbus_wait_for_unload() looks for a CHANNELMSG_UNLOAD_RESPONSE message coming from Hyper-V. But if the message isn't found for some reason, the panic path gets hung forever. Add a timeout of 10 seconds to prevent this. Fixes: 415719160de3 ("Drivers: hv: vmbus: avoid scheduling in interrupt context in vmbus_initiate_unload()") Signed-off-by: Michael Kelley <[email protected]> Reviewed-by: Dexuan Cui <[email protected]> Reviewed-by: Vitaly Kuznetsov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions