]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
zap_other_threads: don't optimize thread_group_empty() case
authorOleg Nesterov <oleg@tv-sign.ru>
Wed, 17 Oct 2007 06:26:59 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:51 +0000 (08:42 -0700)
commitebca4cda1133775111e8b09f7124a7e5e391926d
tree074d2791b1e7b784aa6126012eeac38d505b2c06
parent3ae4cbadf4bf97ee137b921a1b928d2a5dcd26ca
zap_other_threads: don't optimize thread_group_empty() case

Nowadays thread_group_empty() and next_thread() are simple list operations,
this optimization doesn't make sense: we are doing exactly same check one
line below.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
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>
kernel/signal.c