rescounters: add res_counter_uncharge_until()
[profile/ivi/kernel-adaptation-intel-automotive.git] / Documentation / cgroups / resource_counter.txt
index f3c4ec3..0c4a344 100644 (file)
@@ -92,6 +92,14 @@ to work with it.
 
        The _locked routines imply that the res_counter->lock is taken.
 
+ f. void res_counter_uncharge_until
+               (struct res_counter *rc, struct res_counter *top,
+                unsinged long val)
+
+       Almost same as res_cunter_uncharge() but propagation of uncharge
+       stops when rc == top. This is useful when kill a res_coutner in
+       child cgroup.
+
  2.1 Other accounting routines
 
     There are more routines that may help you with common needs, like