[PATCH 6/8] Per container OOM killer

2007-06-04 Thread Pavel Emelianov
When container is completely out of memory some tasks should die. This is unfair to kill the current task, so a task with the largest RSS is chosen and killed. The code re-uses current OOM killer select_bad_process() for task selection. Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]> --- ---

[PATCH 6/8] Per container OOM killer

2007-05-30 Thread Pavel Emelianov
When container is completely out of memory some tasks should die. This is unfair to kill the current task, so a task with the largest RSS is chosen and killed. The code re-uses current OOM killer select_bad_process() for task selection. Signed-off-by: Pavel Emelianov <[EMAIL PROTECTED]> --- dif

[PATCH 6/8] Per container OOM killer

2007-04-09 Thread Pavel Emelianov
When container is completely out of memory some tasks should die. This is unfair to kill the current task, so a task with the largest RSS is chosen and killed. The code re-uses current OOM killer select_bad_process() for task selection. diff -upr linux-2.6.20.orig/include/linux/rss_container.h lin