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

From: Frederic Weisbecker
Date: Tue Apr 24 2012 - 19:11:40 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/