From: Eric Dumazet Date: Thu, 4 Nov 2010 10:13:48 +0000 (+0100) Subject: irq: Better struct irqaction layout X-Git-Tag: v2.6.38-rc1~478^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6cd24777513fcc673d432cc29ef59881d3e4df1;p=pandora-kernel.git 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 Reviewed-by: Andi Kleen Cc: Peter Zijlstra LKML-Reference: <1288865628.2659.69.camel@edumazet-laptop> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed