[PATCH 0/2] res_counter: Merge some common code

Frederic Weisbecker
2012-04-24T23:11:45Z

Just a small code factorizing. I hope Glauber can have a look at the second
patch to confirm this is what we want for the net memcg controller (that
is the only user of the nofail version AFAICS).

Thanks.

Frederic Weisbecker (2):
res_counter: Merge res_counter_charge and res_counter_charge_nofail
res_counter: Account max_usage when calling
res_counter_charge_nofail()

Documentation/cgroups/resource_counter.txt | 4 +-
include/linux/res_counter.h | 2 +-
kernel/res_counter.c | 71 +++++++++++++---------------
3 files changed, 36 insertions(+), 41 deletions(-)

--
1.7.5.4