From: Oleg Nesterov Date: Wed, 27 Apr 2011 19:04:28 +0000 (+0200) Subject: x86: signal: handle_signal() should use set_current_blocked() X-Git-Tag: v3.0-rc1~382^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6a585801b451443480ff66914a522b482457460;p=pandora-kernel.git 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 Reviewed-by: Matt Fleming Acked-by: Tejun Heo --- Reading git-diff-tree failed