Skip to contentSkip to conversation

sched-remove-arch-specific-fpu_counter-from-task_struct.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013 Scheduler

lore
Share & tools
lore
#0 lore raw

Subject: [merged] sched-remove-arch-specific-fpu_counter-from-task_struct.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:40:10 -0800

The patch titled
Subject: sched: remove ARCH specific fpu_counter from task_struct
has been removed from the -mm tree. Its filename was
sched-remove-arch-specific-fpu_counter-from-task_struct.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Vineet Gupta <[email protected]>
Subject: 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.

---

 include/linux/sched.h |    9 ---------
 1 file changed, 9 deletions(-)
include/linux/sched.h renamed from include/linux/sched.h~sched-remove-arch-specific-fpu_counter-from-task_struct +0 -9
diff -puN include/linux/sched.h~sched-remove-arch-specific-fpu_counter-from-task_struct include/linux/sched.h
@@ -1062,15 +1062,6 @@ struct task_struct {
 	struct hlist_head preempt_notifiers;
 #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;
 #ifdef CONFIG_BLK_DEV_IO_TRACE
 	unsigned int btrace_seq;
 #endif

_

Patches currently in -mm which might be from [email protected] are

origin.patch