summaryrefslogtreecommitdiffstats
path: root/include/linux/if_vlan.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-11-04 11:13:48 +0100
committerThomas Gleixner <tglx@linutronix.de>2010-11-10 10:21:22 +0100
commitf6cd24777513fcc673d432cc29ef59881d3e4df1 (patch)
tree93d08badf3a18e6bcdf2baf97532a8f54fec5a08 /include/linux/if_vlan.h
parent814ce2521121c2459e16cea8c7221e157edbeddd (diff)
downloadblackbird-op-linux-f6cd24777513fcc673d432cc29ef59881d3e4df1.tar.gz
blackbird-op-linux-f6cd24777513fcc673d432cc29ef59881d3e4df1.zip
irq: Better struct irqaction layout
We currently use kmalloc-96 slab for struct irqaction allocations on 64bit arches. This is unfortunate because of possible false sharing and two cache lines accesses. Move 'name' and 'dir' fields at the end of the structure, and force a suitable alignement. Hot path fields now use one cache line on x86_64. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Reviewed-by: Andi Kleen <andi@firstfloor.org> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1288865628.2659.69.camel@edumazet-laptop> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/if_vlan.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud