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

Kirill A. Shutemov
2012-04-25T02:22:35Z

On Wed, Apr 25, 2012 at 01:11:34AM +0200, Frederic Weisbecker wrote:
> 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(-)

Acked-by: Kirill A. Shutemov <kirill@shutemov.name>

--
Kirill A. Shutemov