lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] softlockup: remove timestamp checking from hung_task

* Mandeep Singh Baines <msb@google.com> wrote:

> Patch against tip/core/softlockup
>
> ---
> 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>
> ---
> include/linux/sched.h | 1 -
> kernel/fork.c | 8 +++-----
> kernel/hung_task.c | 48 +++++++++---------------------------------------
> 3 files changed, 12 insertions(+), 45 deletions(-)

Nice simplification!

Applied to tip/core/softlockup, thanks Mandeep.

(i fixed the one scripts/checkpatch.pl error that your patch triggered)

Ingo


\
 
 \ /
  Last update: 2009-02-09 11:07    [W:0.549 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site