aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMandeep Singh Baines <msb@google.com>2009-02-06 15:37:47 -0800
committerIngo Molnar <mingo@elte.hu>2009-02-09 11:03:49 +0100
commit17406b82d621930cca8ccc1272cdac9a7dae8e40 (patch)
tree224c8b0b7c78a5467175fe10e116bdc6b73495ea /include/linux
parent94be52dc075a32af4aa73d7e10f68734d62d6af2 (diff)
downloadkernel_samsung_smdk4412-17406b82d621930cca8ccc1272cdac9a7dae8e40.zip
kernel_samsung_smdk4412-17406b82d621930cca8ccc1272cdac9a7dae8e40.tar.gz
kernel_samsung_smdk4412-17406b82d621930cca8ccc1272cdac9a7dae8e40.tar.bz2
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/linux')
-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 2a2811c..e0d723f 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1241,7 +1241,6 @@ struct task_struct {
#endif
#ifdef CONFIG_DETECT_HUNG_TASK
/* hung task detection */
- unsigned long last_switch_timestamp;
unsigned long last_switch_count;
#endif
/* CPU-specific state of this task */