]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
stop_machine: struct cpu_stopper, remove alignment padding on 64 bits
authorRichard Kennedy <richard@rsk.demon.co.uk>
Tue, 10 Aug 2010 00:20:34 +0000 (17:20 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:06 +0000 (20:45 -0700)
commit878ae1274944908e1863b06b03a2c94907afaa20
tree35030101311d4c3e092e59da5ef0210229a81a00
parentd7a7c573936a86474c4a5090a45a4bc6e680c117
stop_machine: struct cpu_stopper, remove alignment padding on 64 bits

Reorder elements in structure cpu_stopper to remove alignment padding on
64 bit builds, this shrinks its size from 40 to 32 bytes saving 8 bytes
per cpu.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/stop_machine.c