commit | ebca4cda1133775111e8b09f7124a7e5e391926d | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Tue Oct 16 23:26:59 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Wed Oct 17 08:42:51 2007 -0700 |
tree | 074d2791b1e7b784aa6126012eeac38d505b2c06 | |
parent | 3ae4cbadf4bf97ee137b921a1b928d2a5dcd26ca [diff] |
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>