]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Reorder 'struct lb_env' members to reduce its size
authorPrashanth Nageshappa <prashanth@linux.vnet.ibm.com>
Tue, 19 Jun 2012 12:17:34 +0000 (17:47 +0530)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Jul 2012 11:55:20 +0000 (13:55 +0200)
commit2e22d4864ca29df7977c6ba903238255d1ac7146
treee9423a9075004bec44dd09d981300af716f1f89c
parentda244df939a250ae0cc5229a56c8bfc5b7d66561
sched: Reorder 'struct lb_env' members to reduce its size

Members of 'struct lb_env' are not in appropriate order to reuse compiler
added padding on 64bit architectures. In this patch we reorder those struct
members and help reduce the size of the structure from 96 bytes to 80
bytes on 64 bit architectures.

Suggested-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
Signed-off-by: Prashanth Nageshappa <prashanth@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4FE06DDE.7000403@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c