lkml.org 
[lkml]   [2008]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 1/2] memcg: res_counter hierarchy
    > Index: temp-2.6.26-rc2-mm1/Documentation/controllers/resource_counter.txt
    > ===================================================================
    > --- temp-2.6.26-rc2-mm1.orig/Documentation/controllers/resource_counter.txt
    > +++ temp-2.6.26-rc2-mm1/Documentation/controllers/resource_counter.txt
    > @@ -44,6 +44,13 @@ to work with it.
    > Protects changes of the above values.
    >
    >
    > + f. struct res_counter *parent
    > +
    > + Parent res_counter under hierarchy.
    > +
    > + g. unsigned long long for_children
    > +
    > + Resources assigned to children. This is included in usage.

    Since parent and for_children are also protected by res_count->lock,
    the above text should appear before 'e. spinlock_t lock'.


    \
     
     \ /
      Last update: 2008-06-04 08:59    [W:0.024 / U:0.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site