Commit 27f69e68a5e534412faebc53a4e04acc9ce7fd7e
Committed by
Linus Torvalds
1 parent
c375f15a43
Exists in
smarc-imx_3.14.28_1.0.0_ga
and in
1 other branch
sched: remove ARCH specific fpu_counter from task_struct
fpu_counter in task_struct was used only by sh/x86. Both of these now carry it in ARCH specific thread_struct, hence this can now be removed from generic task_struct, shrinking it slightly for other arches. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul Mundt <paul.mundt@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 0 additions and 9 deletions Side-by-side Diff
include/linux/sched.h
... | ... | @@ -1062,15 +1062,6 @@ |
1062 | 1062 | struct hlist_head preempt_notifiers; |
1063 | 1063 | #endif |
1064 | 1064 | |
1065 | - /* | |
1066 | - * fpu_counter contains the number of consecutive context switches | |
1067 | - * that the FPU is used. If this is over a threshold, the lazy fpu | |
1068 | - * saving becomes unlazy to save the trap. This is an unsigned char | |
1069 | - * so that after 256 times the counter wraps and the behavior turns | |
1070 | - * lazy again; this to deal with bursty apps that only use FPU for | |
1071 | - * a short time | |
1072 | - */ | |
1073 | - unsigned char fpu_counter; | |
1074 | 1065 | #ifdef CONFIG_BLK_DEV_IO_TRACE |
1075 | 1066 | unsigned int btrace_seq; |
1076 | 1067 | #endif |