[Devel] [PATCH 5/8] RSS accounting hooks over the code

Pavel Emelianov xemul at sw.ru
Mon Apr 9 05:54:13 PDT 2007


As described above, pages are charged to their first touchers.
The first toucher is determined using pages' mapcount manipulations
in rmap calls.

Page is charged in two stages:
1. preparation, in which the resource availability is checked.
   This stage may lead to page reclamation, thus it is performed
   in a might-sleep places;
2. the container assignment to page. This is done in an atomic
   code that handles multiple touches.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-rss-container-rmap-hooks
URL: <http://lists.openvz.org/pipermail/devel/attachments/20070409/8983c04b/attachment-0001.ksh>


More information about the Devel mailing list