lkml.org 
[lkml]   [2009]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 28 Oct 2009 12:48:54 +0530
FromBalbir Singh <>
SubjectRe: [PATCH] memcg: make memcg's file mapped consistent with global VM
* KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2009-10-28 12:16:19]:

> Based on mmotm-Oct13 + some patches in -mm queue.
>
> ==
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
>
> memcg-cleanup-file-mapped-consistent-with-globarl-vm-stat.patch
>
> In global VM, FILE_MAPPED is used but memcg uses MAPPED_FILE.
> This makes grep difficult. Replace memcg's MAPPED_FILE with FILE_MAPPED
>
> And in global VM, mapped shared memory is accounted into FILE_MAPPED.
> But memcg doesn't. fix it.

I wanted to explicitly avoid this since I wanted to do an iterative
correct accounting of shared memory. The renaming is fine with me
since we don't break ABI in user space.


--
Balbir


\
 
 \ /
  Last update: 2009-10-28 08:21    [from the cache]
©2003-2010