diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-04-30 00:52:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 08:29:35 -0700 |
commit | db51aeccd7097ce19a522a4c5ff91c320f870e2b (patch) | |
tree | 373bdfb55d1d90c04d53d4a419bcd156fe7f054c /init | |
parent | 08d2c30ce98d274137f12b0a9b9c74137455922c (diff) | |
download | op-kernel-dev-db51aeccd7097ce19a522a4c5ff91c320f870e2b.zip op-kernel-dev-db51aeccd7097ce19a522a4c5ff91c320f870e2b.tar.gz |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions