diff options
author | Nick Piggin <npiggin@suse.de> | 2006-09-25 23:31:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 08:48:48 -0700 |
commit | 4a3ede107e422a0c53d28024b0aa902ca22a8768 (patch) | |
tree | 39f687cc0470cea45ed1387ebc16fee7d6066485 /crypto/md5.c | |
parent | 50ec3bbffbe8a96347c54832d48110a5bc9e9ff8 (diff) |
[PATCH] oom: handle oom_disable exiting
Having the oomkilladj == OOM_DISABLE check before the releasing check means
that oomkilladj == OOM_DISABLE tasks exiting will not stop the OOM killer.
Moving the test down will give the desired behaviour. Also: it will allow
them to "OOM-kill" themselves if they are exiting. As per the previous patch,
this is required to prevent OOM killer deadlocks (and they don't actually get
killed, because they're already exiting -- they're simply allowed access to
memory reserves).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions