diff options
author | Oleg Nesterov <[email protected]> | 2012-03-23 15:02:46 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:41 -0700 |
commit | a02d6fd643cbd4c559113b35b31d3b04e4ec60c7 (patch) | |
tree | 77bb1bca3380e8a8187bbeb25af6a03307401887 /net/lapb/lapb_timer.c | |
parent | d2d393099de21eda91c5ec6a05d60e5dee4d5175 (diff) |
signal: zap_pid_ns_processes: s/SEND_SIG_NOINFO/SEND_SIG_FORCED/
Change zap_pid_ns_processes() to use SEND_SIG_FORCED, it looks more
clear compared to SEND_SIG_NOINFO which relies on from_ancestor_ns logic
send_signal().
It is also more efficient if we need to kill a lot of tasks because it
doesn't alloc sigqueue.
While at it, add the __fatal_signal_pending(task) check as a minor
optimization.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Anton Vorontsov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions