]> git.baikalelectronics.ru Git - kernel.git/commit
xen/events: Implement irq distribution
authorThomas Gleixner <tglx@linutronix.de>
Thu, 10 Dec 2020 19:26:05 +0000 (20:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Dec 2020 15:19:38 +0000 (16:19 +0100)
commit63e935dee5384390cfc36ec409db2e20bd98bb68
tree8d3ee4c74499570f6fd1bdb4b61abb41e4da1b2d
parentc41c9f15a368e367b8cbb75ca5de9d6a0267131b
xen/events: Implement irq distribution

Keep track of the assignments of event channels to CPUs and select the
online CPU with the least assigned channels in the affinity mask which is
handed to irq_chip::irq_set_affinity() from the core code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20201210194045.457218278@linutronix.de
drivers/xen/events/events_base.c