From: Andrew Morton Stick it next to jit_keyring to save space. Cc: Arjan van de Ven Cc: Andi Kleen Signed-off-by: Andrew Morton --- include/linux/sched.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff -puN include/linux/sched.h~sleazy-fpu-feature-x86_64-support-fix include/linux/sched.h --- a/include/linux/sched.h~sleazy-fpu-feature-x86_64-support-fix +++ a/include/linux/sched.h @@ -647,15 +647,6 @@ struct sched_domain { unsigned long ttwu_move_affine; unsigned long ttwu_move_balance; #endif - /* - * fpu_counter contains the number of consecutive context switches - * that the FPU is used. If this is over a threshold, the lazy fpu - * saving becomes unlazy to save the trap. This is an unsigned char - * so that after 256 times the counter wraps and the behavior turns - * lazy again; this to deal with bursty apps that only use FPU for - * a short time - */ - unsigned char fpu_counter; }; extern int partition_sched_domains(cpumask_t *partition1, @@ -825,6 +816,15 @@ struct task_struct { struct key *thread_keyring; /* keyring private to this thread */ unsigned char jit_keyring; /* default keyring to attach requested keys to */ #endif + /* + * fpu_counter contains the number of consecutive context switches + * that the FPU is used. If this is over a threshold, the lazy fpu + * saving becomes unlazy to save the trap. This is an unsigned char + * so that after 256 times the counter wraps and the behavior turns + * lazy again; this to deal with bursty apps that only use FPU for + * a short time + */ + unsigned char fpu_counter; int oomkilladj; /* OOM kill score adjustment (bit shift). */ char comm[TASK_COMM_LEN]; /* executable name excluding path - access with [gs]et_task_comm (which lock _