|
|
Log in / Subscribe / Register

VMBus channel interrupts re-balancing

From:  "Andrea Parri (Microsoft)" <parri.andrea-AT-gmail.com>
To:  linux-hyperv-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org
Subject:  [RFC PATCH 0/2] VMBus channel interrupts re-balancing
Date:  Wed, 27 May 2020 00:32:16 +0200
Message-ID:  <20200526223218.184057-1-parri.andrea@gmail.com>
Cc:  "K . Y . Srinivasan" <kys-AT-microsoft.com>, Haiyang Zhang <haiyangz-AT-microsoft.com>, Stephen Hemminger <sthemmin-AT-microsoft.com>, Wei Liu <wei.liu-AT-kernel.org>, Michael Kelley <mikelley-AT-microsoft.com>, Nuno Das Neves <nuno.das-AT-microsoft.com>, "Andrea Parri (Microsoft)" <parri.andrea-AT-gmail.com>
Archive-link:  Article

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



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds