Messages in this thread | | | Date | Wed, 25 Apr 2012 05:22:16 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH 0/2] res_counter: Merge some common code |
| |
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
| |