]> xenbits.xensource.com Git - people/dwmw2/xen.git/commit
x86/IRQ: eliminate some on-stack cpumask_t instances
authorJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 09:47:38 +0000 (11:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Jul 2019 09:47:38 +0000 (11:47 +0200)
commitb31b785dbd82c52f1cb281719b7d0b3ef0eadc05
tree35f935565ca81771d0f363684ad7bf1f23797be2
parent302aa715fe68a20914aa1f6a4d791efb05cf2f0a
x86/IRQ: eliminate some on-stack cpumask_t instances

Use scratch_cpumask where possible, to avoid creating these possibly
large stack objects. We can't use it in _assign_irq_vector() and
set_desc_affinity(), as these get called in IRQ context.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c