[Devel] [RFC][PATCH 5/7] Per-container OOM killer and page reclamation

Pavel Emelianov xemul at sw.ru
Tue Mar 6 07:03:21 PST 2007


* container_try_to_free_pages() walks containers
  page list and tries to shrink pages. This is based
  on try_to_free_pages() and Co code.
  Called from core code when no resource left at the
  moment of page touching.

* container_out_of_memory() selects a process to be
  killed which mm_struct belongs to container in question.
  Called from core code when no resources left and no
  pages were reclaimed.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-rss-container-oom-reclaim
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070306/5431e890/attachment-0001.ksh>


More information about the Devel mailing list