Greg Thelen wrote:
Replace usage of the mem_cgroup_update_file_mapped() memcg
statistic update routine with two new routines:
* mem_cgroup_inc_page_stat()
* mem_cgroup_dec_page_stat()
As before, only the file_mapped statistic is managed. However,
these more general interfaces allow for new
* MinChan Kim minchan@gmail.com [2010-10-31 08:34:01]:
On Sun, Oct 31, 2010 at 6:35 AM, Jesper Juhl j...@chaosbits.net wrote:
Hi,
We can avoid doing a memset in swap_cgroup_swapon() by using vzalloc().
Signed-off-by: Jesper Juhl j...@chaosbits.net
Reviewed-by: Minchan Kim
Ciju Rajan K c...@linux.vnet.ibm.com writes:
Greg Thelen wrote:
Replace usage of the mem_cgroup_update_file_mapped() memcg
statistic update routine with two new routines:
* mem_cgroup_inc_page_stat()
* mem_cgroup_dec_page_stat()
As before, only the file_mapped statistic is managed.