aboutsummaryrefslogtreecommitdiff
path: root/samples/markers
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-11-11 13:24:58 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-11-11 13:24:58 -0800
commitb7c6244f13d37592003b46e12500a90e9781ad9d (patch)
tree24b19efe784a1a9975610228ddfa98cee47dac06 /samples/markers
parent4687518c4cb7807fbeff21770e309080f9eb7f2f (diff)
x86: 32 bits: shrink and align IRQ stubs
Shrink the IRQ stubs on 32 bits down to just over four bytes per (we fit seven into a 32-byte chunk.) This shrinks the total icache consumption of the IRQ stubs down to an even kilobyte, if all of them are in active use. The downside is that we end up with a double jump, which could have a negative effect on some pipelines. The double jump is always inside the same cacheline on any modern chips (the exception being 486/Elan/Geode which have only 16-byte cachelines, but are unlikely to have too many interrupt sources.) To get the most effect, cache-align the IRQ stubs. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'samples/markers')
0 files changed, 0 insertions, 0 deletions