public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] res_counter: Merge some common code
@ 2012-04-24 23:11 Frederic Weisbecker
  2012-04-24 23:11 ` [PATCH 1/2] res_counter: Merge res_counter_charge and res_counter_charge_nofail Frederic Weisbecker
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Frederic Weisbecker @ 2012-04-24 23:11 UTC (permalink / raw)
  To: Tejun Heo, Li Zefan
  Cc: LKML, Frederic Weisbecker, KAMEZAWA Hiroyuki, Glauber Costa,
	Kirill A. Shutemov

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-27 21:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-24 23:11 [PATCH 0/2] res_counter: Merge some common code Frederic Weisbecker
2012-04-24 23:11 ` [PATCH 1/2] res_counter: Merge res_counter_charge and res_counter_charge_nofail Frederic Weisbecker
2012-04-25  0:28   ` KAMEZAWA Hiroyuki
2012-04-25 14:40     ` Glauber Costa
2012-04-27 21:37   ` Tejun Heo
2012-04-24 23:11 ` [PATCH 2/2] res_counter: Account max_usage when calling res_counter_charge_nofail() Frederic Weisbecker
2012-04-25  0:29   ` KAMEZAWA Hiroyuki
2012-04-25 14:40     ` Glauber Costa
2012-04-27 21:38   ` Tejun Heo
2012-04-25  2:22 ` [PATCH 0/2] res_counter: Merge some common code Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox