diff options
author | Oleg Nesterov <[email protected]> | 2011-04-27 21:04:28 +0200 |
---|---|---|
committer | Oleg Nesterov <[email protected]> | 2011-04-28 13:01:37 +0200 |
commit | e6a585801b451443480ff66914a522b482457460 (patch) | |
tree | ccca18b6b587244b1400af5c1c6e20fee8483b7a /tools/perf/util/scripting-engines/trace-event-python.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 <[email protected]>
Reviewed-by: Matt Fleming <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions