[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090209100452.GD20467@elte.hu>
Date: Mon, 9 Feb 2009 11:04:52 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Mandeep Singh Baines <msb@...gle.com>
Cc: fweisbec@...il.com, linux-kernel@...r.kernel.org,
rientjes@...gle.com, mbligh@...gle.com, thockin@...gle.com,
akpm@...ux-foundation.org
Subject: Re: [PATCH] softlockup: remove timestamp checking from hung_task
* Mandeep Singh Baines <msb@...gle.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@...gle.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists