Searched hist:"33 e4c68656a2e461b296ce714ec322978de85412" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/x86/kvm/ |
H A D | lapic.h | diff 33e4c68656a2e461b296ce714ec322978de85412 Thu Jun 11 03:06:51 CDT 2009 Gleb Natapov <gleb@redhat.com> KVM: Optimize searching for highest IRR
Most of the time IRR is empty, so instead of scanning the whole IRR on each VM entry keep a variable that tells us if IRR is not empty. IRR will have to be scanned twice on each IRQ delivery, but this is much more rare than VM entry.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
|
H A D | lapic.c | diff 33e4c68656a2e461b296ce714ec322978de85412 Thu Jun 11 03:06:51 CDT 2009 Gleb Natapov <gleb@redhat.com> KVM: Optimize searching for highest IRR
Most of the time IRR is empty, so instead of scanning the whole IRR on each VM entry keep a variable that tells us if IRR is not empty. IRR will have to be scanned twice on each IRQ delivery, but this is much more rare than VM entry.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
|