diff options
| author | Christoph Hellwig <[email protected]> | 2006-07-10 04:45:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-07-10 13:24:26 -0700 |
| commit | 5c318bef5f61baf6bbda2dcfe8c2ef71007c7fea (patch) | |
| tree | 3a477d54979e26a0f21921703740df6436e0578c /include | |
| parent | babcfade47371eea81fd7f24d892b5ff5b1786ea (diff) | |
[PATCH] snsc: switch from force_sig to kill_proc
Currently the snsc driver uses force_sig to send init a SIGPWR when the
system overheats. This patch switches it to kill_proc instead which has
the following advantages:
(1) gets rid of one of the last remaining tasklist_lock users
in modular code
(2) simplifies the snsc code significantly
The downside is that an init implementation could in theory block SIGPWR
and it would not get delivered. The sysvinit code used by all major
distributions doesn't do this and blocking this signal in init would be a
rather stupid thing to do.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions