lkml.org 
[lkml]   [2006]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/4] coredump: speedup SIGKILL sending
From
Date
On Sat, 2006-04-08 at 03:28 +0400, Oleg Nesterov wrote:
> zap_process() disables irqs while traversing ->thread_group list.
> So yes, if a process has a lot of threads it will be a latency regression.
> (but again, __group_complete_signal() does the same while delivering this
> signal, so I don't think this change can make things worse).
>
> However this allows us to avoid tasklist_lock in zap_threads() so I think
> it is worth it. Please note that tasklist_lock was held while iterating
> over _all_ threads in system, not only current's thread group.
>

OK sounds good.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-07 21:45    [W:0.118 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site