Skip to content

RFC 2.6.19-rc1: oom killer fixes

Nick Piggin linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5oom: don't kill unkillable children or siblingsmm/oom_kill.c+11 -22 replies
2/5oom: cleanup messagesmm/oom_kill.c+13 -140 replies
3/5oom: less memdiemm/oom_kill.c+3 -22 replies
4/5mm: incorrect VM_FAULT_OOM returns from driversdrivers/char/drm/drm_vm.c sound/core/pcm_native.c sound/oss/via82cxxx_audio.c +1 more+12 -120 replies
5/5oom: invoke OOM killer from pagefault handlerarch/alpha/mm/fault.c arch/i386/mm/fault.c arch/ia64/mm/fault.c +5 more+96 -1015 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [rfc][patch 0/5] 2.6.19-rc1: oom killer fixes

I've been prompted to take another look through the OOM killer because it turns out it is killing tasks that have had their oom_adj set to -17 (which is supposed to make them unkillable).

So there are a number of problems, firstly, the child and sibling thread killing routines do not account for -17 children/siblings.

Secondly, most architecture specific pagefault handlers do a direct kill of the current process if it takes a VM_FAULT_OOM. This is a pretty rare thing to happen, because there isn't a lot of higher order allocations happening, but it is not impossible. I think we can just call into the OOM killer here, and return to userspace... but I'd like comments about this.

Thanks,
Nick
--
SuSE Labs

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>