diff options
author | Mandeep Singh Baines <msb@google.com> | 2009-02-07 00:37:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 11:03:49 +0100 |
commit | 17406b82d621930cca8ccc1272cdac9a7dae8e40 (patch) | |
tree | 224c8b0b7c78a5467175fe10e116bdc6b73495ea /include | |
parent | softlockup: convert read_lock in hung_task to rcu_read_lock (diff) | |
download | linux-17406b82d621930cca8ccc1272cdac9a7dae8e40.tar.xz linux-17406b82d621930cca8ccc1272cdac9a7dae8e40.zip |
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.h | 1 |
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 { #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 */ |