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 /fs/exec.c | |
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>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions