linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] VMBus channel interrupts re-balancing
@ 2020-05-26 22:32 Andrea Parri (Microsoft)
  2020-05-26 22:32 ` [RFC PATCH 1/2] Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at CPU hotplug Andrea Parri (Microsoft)
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrea Parri (Microsoft) @ 2020-05-26 22:32 UTC (permalink / raw)
  To: linux-hyperv, linux-kernel
  Cc: K . Y . Srinivasan, Haiyang Zhang, Stephen Hemminger, Wei Liu,
	Michael Kelley, Nuno Das Neves, Andrea Parri (Microsoft)

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
    hotplug
  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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-07 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26 22:32 [RFC PATCH 0/2] VMBus channel interrupts re-balancing Andrea Parri (Microsoft)
2020-05-26 22:32 ` [RFC PATCH 1/2] Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at CPU hotplug Andrea Parri (Microsoft)
2020-06-02 23:47   ` Michael Kelley
2020-06-06 21:49     ` Andrea Parri
2020-05-26 22:32 ` [RFC PATCH 2/2] Drivers: hv: vmbus: Re-balance channel interrupts across CPUs at device hotplug Andrea Parri (Microsoft)
2020-06-07 15:42 ` [RFC PATCH 0/2] VMBus channel interrupts re-balancing Andrea Parri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).