]> git.baikalelectronics.ru Git - kernel.git/commit
genirq/cpuhotplug: Use effective affinity mask
authorThomas Gleixner <tglx@linutronix.de>
Mon, 19 Jun 2017 23:37:39 +0000 (01:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 22 Jun 2017 16:21:21 +0000 (18:21 +0200)
commit1b07acb6f536c5d98ddc55ae62d95a79e3f21a99
tree0e23019f68c72279cdf746716d082f2d39921118
parentfb0a2a2afdfa637a86fc13ac43f331dcc52691aa
genirq/cpuhotplug: Use effective affinity mask

If the architecture supports the effective affinity mask, migrating
interrupts away which are not targeted by the effective mask is
pointless.

They can stay in the user or system supplied affinity mask, but won't be
targetted at any given point as the affinity setter functions need to
validate against the online cpu mask anyway.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Link: http://lkml.kernel.org/r/20170619235446.328488490@linutronix.de
kernel/irq/cpuhotplug.c