]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit85c1e7dae165acd004429f81fe52bfbf55b57a98
treee9423a9075004bec44dd09d981300af716f1f89c
parent970e178985cadbca660feb02f4d2ee3a09f7fdda
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