diff options
author | Oleg Nesterov <oleg@redhat.com> | 2011-04-27 21:04:28 +0200 |
---|---|---|
committer | Oleg Nesterov <oleg@redhat.com> | 2011-04-28 13:01:37 +0200 |
commit | e6a585801b451443480ff66914a522b482457460 (patch) | |
tree | ccca18b6b587244b1400af5c1c6e20fee8483b7a /kernel/gcov/gcc_3_4.c | |
parent | e6fa16ab9c1e9b344428e6fea4d29e3cc4b28fb0 (diff) |
x86: signal: handle_signal() should use set_current_blocked()
This is ugly, but if sigprocmask() needs retarget_shared_pending() then
handle signal should follow this logic. In theory it is newer correct to
add the new signals to current->blocked, the signal handler can sleep/etc
so we should notify other threads in case we block the pending signal and
nobody else has TIF_SIGPENDING.
Of course, this change doesn't make signals faster :/
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Matt Fleming <matt.fleming@linux.intel.com>
Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/gcov/gcc_3_4.c')
0 files changed, 0 insertions, 0 deletions