SchedMD/slurm — pull request #60 by ryanbcox (2013-11-07 23:45:57+00:00)
Title: task/cgroup: notify if memory.memsw.failcnt > 0. indicates oom

Fixes http://bugs.schedmd.com/show_bug.cgi?id=431 in 2.6. task_post_term seems to be the right place to call this. It hasn't been tested for 13.12 but I imagine it should be almost identical.

I have tested this myself under several conditions but I'm sure it could use some more testing.