aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2010-05-26 14:43:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-27 09:12:47 -0700
commitdd98acf74762764fbc4382a1d9a244f11a2658cc (patch)
treee194cc516ccc8812a0424dfd2ca1c32bf1052cd4 /net
parentproc_sched_show_task(): use get_nr_threads() (diff)
downloadlinux-dev-dd98acf74762764fbc4382a1d9a244f11a2658cc.tar.xz
linux-dev-dd98acf74762764fbc4382a1d9a244f11a2658cc.zip
keyctl_session_to_parent(): use thread_group_empty() to check singlethreadness
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> Cc: Peter Zijlstra <peterz@infradead.org> Acked-by: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions