summaryrefslogtreecommitdiff
path: root/include/linux/irqdomain.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-20 01:37:55 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-06-22 18:21:26 +0200
commit9a0ef98e186d86fb3c1ff3ec267a76f067005f74 (patch)
treecd8ae87f2671ebf4a16210250746ca5101fc0afe /include/linux/irqdomain.h
parent3ca57222c36ba31b80aa25de313f3c8ab26a8102 (diff)
downloadlinux-9a0ef98e186d86fb3c1ff3ec267a76f067005f74.tar.gz
genirq/affinity: Assign vectors to all present CPUs
Currently the irq vector spread algorithm is restricted to online CPUs, which ties the IRQ mapping to the currently online devices and doesn't deal nicely with the fact that CPUs could come and go rapidly due to e.g. power management. Instead assign vectors to all present CPUs to avoid this churn. Build a map of all possible CPUs for a given node, as the architectures only provide a map of all onlines CPUs. Do this dynamically on each call for the vector assingments, which is a bit suboptimal and could be optimized in the future by provinding a mapping from the arch code. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Cc: Sagi Grimberg <sagi@grimberg.me> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: linux-nvme@lists.infradead.org Cc: Keith Busch <keith.busch@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20170603140403.27379-5-hch@lst.de
Diffstat (limited to 'include/linux/irqdomain.h')
0 files changed, 0 insertions, 0 deletions