[RFC PATCH 0/2] VMBus channel interrupts re-balancing

From: Andrea Parri (Microsoft)
Date: Tue May 26 2020 - 18:32:54 EST

The RFC introduces constructs to re-balance the channel interrupts at
CPU hotplug and at device hotplug operations, the latter being indeed
"closure/opening operations" to enable the re-balancing also in cases
when the device is just being closed/re-opened (as in "ethtool -L").

These changes originated from (and address /try to resolve) two known
limitations of the current interrupts-to-CPUs mapping scheme, that is,
(1) the "static" nature of this mapping scheme (that, e.g., can end up
preventing the hot removal of certain CPUs) and (2) the lack of global
visibility in such scheme (where devices/channels are mapped only "one
at a time"/as they are offered, with the end result that globally the
various interrupts are not always evenly spread across CPUs).

Andrea Parri (Microsoft) (2):
Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at CPU
Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at
device hotplug

drivers/hv/channel.c | 81 ++++++++++++
drivers/hv/channel_mgmt.c | 263 ++++++++++++++++++++++++++++++++++++++
drivers/hv/connection.c | 32 +++--
drivers/hv/hv.c | 62 +++++----
drivers/hv/hyperv_vmbus.h | 78 +++++++++++
drivers/hv/vmbus_drv.c | 45 ++-----
include/linux/hyperv.h | 26 ++++
kernel/cpu.c | 1 +
8 files changed, 523 insertions(+), 65 deletions(-)