lkml.org 
[lkml]   [2010]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -mm 2/2] keyctl_session_to_parent: use thread_group_empty() to check singlethreadness
Date
Oleg Nesterov <oleg@redhat.com> wrote:

> No functional changes.
>
> keyctl_session_to_parent() is the only user of signal->count which needs
> the correct value. Change it to use thread_group_empty() instead, this
> must be strictly equivalent under tasklist, and imho looks better.
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>

Acked-by: David Howells <dhowells@redhat.com>


\
 
 \ /
  Last update: 2010-03-24 09:59    [W:0.057 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site