aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2016-09-06 19:04:46 +0200
committerThomas Gleixner <[email protected]>2016-09-19 21:44:29 +0200
commit8904f5a5afc4dd74e8fe2ab3eeb98018ef02f3e6 (patch)
tree7ccdcb19dabfc8dec5b77b3a8200005a23cf8b1c /scripts/gdb/linux/lists.py
parenta4e0591ece7d88634a802c4076db8c0debbde805 (diff)
virtio scsi: Convert to hotplug state machine
Install the callbacks via the state machine. It uses the multi instance infrastructure of the hotplug code to handle each interface. virtscsi_set_affinity() is removed from virtscsi_init() because virtscsi_cpu_notif_add() (the function which registers the instance) is invoked right after it and the cpuhp_state_add_instance() functions invokes the startup callback on all online CPUs. The same thing can not be applied virtscsi_cpu_notif_remove() because virtscsi_remove_vqs() invokes virtscsi_set_affinity() with affinity = false as argument but the old CPU_DEAD state invoked the function with affinity = true (which does not match the DEAD callback). Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Cc: "James E.J. Bottomley" <[email protected]> Cc: [email protected] Cc: "Martin K. Petersen" <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions