diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2012-05-16 16:03:58 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-05-18 07:46:09 (GMT) |
commit | 0ab711ae6ab0db7696b43c74f9ba9de4d7fc1deb (patch) | |
tree | 61295a9035f1f15fe32083ff1dbf6c83d73069b0 /drivers/usb/musb/musb_regs.h | |
parent | 2a43195d831997551da93e6b3c22c965e93fe9cc (diff) | |
download | linux-fsl-qoriq-0ab711ae6ab0db7696b43c74f9ba9de4d7fc1deb.tar.xz |
x86/apic: Implement EIO micro-optimization
We know both register and value for eoi beforehand,
so there's no need to check it and no need to do math
to calculate the msr. Saves instructions/branches
on each EOI when using x2apic.
I looked at the objdump output to verify that the
generated code looks right and actually is shorter.
The real improvemements will be on the KVM guest side
though, those come in a later patch.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: gleb@redhat.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/e019d1a125316f10d3e3a4b2f6bda41473f4fb72.1337184153.git.mst@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/usb/musb/musb_regs.h')
0 files changed, 0 insertions, 0 deletions