[PATCH 0/2] ResCounter: Add res_counter_read_uint and use it in memory cgroup

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <akpm@...>, <xemul@...>, <balbir@...>
Cc: <linux-kernel@...>, <linux-mm@...>
Date: Thursday, February 21, 2008 - 4:35 pm

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>

--
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] ResCounter: Add res_counter_read_uint and use it..., , (Thu Feb 21, 4:35 pm)