linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ResCounter: Add res_counter_read_uint and use it in memory cgroup
@ 2008-02-21 20:35 menage
  2008-02-21 20:35 ` [PATCH 1/2] ResCounter: Add res_counter_read_uint() menage
  2008-02-21 20:35 ` [PATCH 2/2] ResCounter: Use read_uint in memory controller menage
  0 siblings, 2 replies; 12+ messages in thread
From: menage @ 2008-02-21 20:35 UTC (permalink / raw)
  To: akpm, xemul, balbir; +Cc: linux-kernel, linux-mm

These patches simplify the code required to report values from a
res_counter object in a cgroups control file.

The first patch adds res_counter_read_uint, which simply reports the
current value for a res_counter member.

The second replaces the existing mem_cgroup_read() with a simpler
version that calls res_counter_read_uint().

Signed-off-by: Paul Menage <menage@google.com>

--

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2008-02-24  3:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 20:35 [PATCH 0/2] ResCounter: Add res_counter_read_uint and use it in memory cgroup menage
2008-02-21 20:35 ` [PATCH 1/2] ResCounter: Add res_counter_read_uint() menage
2008-02-21 20:35 ` [PATCH 2/2] ResCounter: Use read_uint in memory controller menage
2008-02-22  4:29   ` Balbir Singh
2008-02-23  8:04     ` Andrew Morton
2008-02-23  8:18       ` KOSAKI Motohiro
2008-02-23  9:16       ` Balbir Singh
2008-02-23 14:33     ` Paul Menage
2008-02-23 18:59       ` Andrew Morton
2008-02-24  2:47         ` Balbir Singh
2008-02-24  3:06           ` Paul Menage
2008-02-22  7:51   ` Pavel Emelyanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).