[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080916111303.GA176@tv-sign.ru>
Date: Tue, 16 Sep 2008 15:13:03 +0400
From: Oleg Nesterov <oleg@...sign.ru>
To: Frank Mayhar <fmayhar@...gle.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
adobriyan@...il.com, mingo@...e.hu, roland@...hat.com,
tglx@...utronix.de
Subject: Re: + itimers-fix-itimer-many-thread-hang.patch added to -mm tree
On 09/15, Frank Mayhar wrote:
>
> I have a few more things to do; expect a new iteration of the patch
> tonight or tomorrow.
Great.
Please also remove tasklist_lock from thread_group_cputime_alloc_smp(),
it is not needed.
I'd also suggest to kill
if (sig->cputime.totals)
return 0;
, the caller has already checked this.
Please note also that thread_group_cputime_clone_thread() doesn't need
the second argument.
Very minor nit, but thread_group_cputime_alloc_smp() doesn't really
need get_cpu() + put_cpu_no_resched(), it can use smp_processor_id().
Oleg.
--
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