summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNicolai Stange <nstange@suse.de>2018-07-27 12:46:29 +0200
committerThomas Gleixner <tglx@linutronix.de>2018-08-05 09:53:12 +0200
commit9aee5f8a7e30330d0a8f4c626dc924ca5590aba5 (patch)
tree58c5f4b8719e230b83f9fd5c860e4c8b820c52c7 /security
parent5b6ccc6c3b1a477fbac9ec97a0b4c1c48e765209 (diff)
x86/irq: Demote irq_cpustat_t::__softirq_pending to u16
An upcoming patch will extend KVM's L1TF mitigation in conditional mode to also cover interrupts after VMEXITs. For tracking those, stores to a new per-cpu flag from interrupt handlers will become necessary. In order to improve cache locality, this new flag will be added to x86's irq_cpustat_t. Make some space available there by shrinking the ->softirq_pending bitfield from 32 to 16 bits: the number of bits actually used is only NR_SOFTIRQS, i.e. 10. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Nicolai Stange <nstange@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions