module: remove 64 bit alignment padding from struct module with CONFIG_TRACE*
authorRichard Kennedy <richard@rsk.demon.co.uk>
Thu, 19 May 2011 22:55:25 +0000 (16:55 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 19 May 2011 07:25:25 +0000 (16:55 +0930)
commita288bd651f4180c224cfddf837a0416157a36661
tree7f966b8a0e31b8b6f2e64198c0429da57949df4a
parent9b73a5840c7d5f77e5766626716df13787cb258c
module: remove 64 bit alignment padding from struct module with CONFIG_TRACE*

Reorder struct module to remove 24 bytes of alignment padding on 64 bit
builds when the CONFIG_TRACE options are selected. This allows the
structure to fit into one fewer cache lines, and its size drops from 592
to 568 on x86_64.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h