[PATCH] sched: reduce task_struct size

more task_struct size reduction, by moving the debugging/instrumentation
fields to under CONFIG_SCHEDSTATS:

(i386, nodebug):

size
----
pre-CFS 1328
CFS 1472
CFS+patch 1376

Signed-off-by: Ingo Molnar <mingo@elte.hu>

+14 -9
+14 -9
include/linux/sched.h
··· 904 904 struct rb_node run_node; 905 905 unsigned int on_rq; 906 906 907 - u64 wait_start_fair; 908 - u64 wait_start; 909 907 u64 exec_start; 910 - u64 sleep_start; 908 + u64 sum_exec_runtime; 909 + u64 wait_start_fair; 911 910 u64 sleep_start_fair; 912 - u64 block_start; 911 + 912 + #ifdef CONFIG_SCHEDSTATS 913 + u64 wait_start; 914 + u64 wait_max; 915 + s64 sum_wait_runtime; 916 + 917 + u64 sleep_start; 913 918 u64 sleep_max; 919 + s64 sum_sleep_runtime; 920 + 921 + u64 block_start; 914 922 u64 block_max; 915 923 u64 exec_max; 916 - u64 wait_max; 917 - u64 last_ran; 918 924 919 - u64 sum_exec_runtime; 920 - s64 sum_wait_runtime; 921 - s64 sum_sleep_runtime; 922 925 unsigned long wait_runtime_overruns; 923 926 unsigned long wait_runtime_underruns; 927 + #endif 928 + 924 929 #ifdef CONFIG_FAIR_GROUP_SCHED 925 930 struct sched_entity *parent; 926 931 /* rq on which this entity is (to be) queued: */