Re: [PATCH -mm 2/2] keyctl_session_to_parent: use thread_group_empty() to check singlethreadness

From: David Howells
Date: Wed Mar 24 2010 - 04:57:05 EST


Oleg Nesterov <oleg@xxxxxxxxxx> 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@xxxxxxxxxx>

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