]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/irq: Remove the cpumask allocation from send_cleanup_vector()
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Dec 2015 16:30:52 +0000 (16:30 +0000)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:24:21 +0000 (10:24 +0100)
commita5c8c182b32e7b8a9ca2ea67d67ceb23583740ab
tree606f1e0af42c28be816343e317aabfdc129a7fc7
parent6938f1fb753015aab0c02e9233f8bdd7a4185f2f
x86/irq: Remove the cpumask allocation from send_cleanup_vector()

BugLink: http://bugs.launchpad.net/bugs/1553179
commit 5da0c1217f05d2ccc9a8ed6e6e5c23a8a1d24dd6 upstream.

There is no need to allocate a new cpumask for sending the cleanup vector. The
old_domain mask is now protected by the vector_lock, so we can safely remove
the offline cpus from it and send the IPI with the resulting mask.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Borislav Petkov <bp@alien8.de>
Tested-by: Joe Lawrence <joe.lawrence@stratus.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Jeremiah Mahler <jmmahler@gmail.com>
Cc: andy.shevchenko@gmail.com
Cc: Guenter Roeck <linux@roeck-us.net>
Link: http://lkml.kernel.org/r/20151231160106.967993932@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/x86/kernel/apic/vector.c