diff options
| author | David Rientjes <[email protected]> | 2007-10-16 23:25:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-10-17 08:42:46 -0700 |
| commit | fe071d7e8aae5745c009c808bb8933f22a9e305a (patch) | |
| tree | 757dc7c41a7b56974c383743103fb711c976c288 /include | |
| parent | ff0ceb9deb6eb017f52900b708d49cfa77bf25fb (diff) | |
oom: add oom_kill_allocating_task sysctl
Adds a new sysctl, 'oom_kill_allocating_task', which will automatically kill
the OOM-triggering task instead of scanning through the tasklist to find a
memory-hogging target. This is helpful for systems with an insanely large
number of tasks where scanning the tasklist significantly degrades
performance.
Cc: Andrea Arcangeli <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: David Rientjes <[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