aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMandeep Singh Baines <msb@google.com>2009-02-06 18:37:47 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-09 05:03:49 -0500
commit17406b82d621930cca8ccc1272cdac9a7dae8e40 (patch)
tree224c8b0b7c78a5467175fe10e116bdc6b73495ea /include
parent94be52dc075a32af4aa73d7e10f68734d62d6af2 (diff)
softlockup: remove timestamp checking from hung_task
Impact: saves sizeof(long) bytes per task_struct By guaranteeing that sysctl_hung_task_timeout_secs have elapsed between tasklist scans we can avoid using timestamps. Signed-off-by: Mandeep Singh Baines <msb@google.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2a2811c6239d..e0d723fea9f5 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1241,7 +1241,6 @@ struct task_struct {
1241#endif 1241#endif
1242#ifdef CONFIG_DETECT_HUNG_TASK 1242#ifdef CONFIG_DETECT_HUNG_TASK
1243/* hung task detection */ 1243/* hung task detection */
1244 unsigned long last_switch_timestamp;
1245 unsigned long last_switch_count; 1244 unsigned long last_switch_count;
1246#endif 1245#endif
1247/* CPU-specific state of this task */ 1246/* CPU-specific state of this task */