commit | db51aeccd7097ce19a522a4c5ff91c320f870e2b | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@tv-sign.ru> | Wed Apr 30 00:52:52 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 30 08:29:35 2008 -0700 |
tree | 373bdfb55d1d90c04d53d4a419bcd156fe7f054c | |
parent | 08d2c30ce98d274137f12b0a9b9c74137455922c [diff] |
signals: microoptimize the usage of ->curr_target Suggested by Roland McGrath. Initialize signal->curr_target in copy_signal(). This way ->curr_target is never == NULL, we can kill the check in __group_complete_signal's hot path. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>