lkml.org 
[lkml]   [2010]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V3] nommu: add anonymous page memcg accounting
On Fri, 22 Oct 2010 09:23:03 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> * Steven J. Magnani <steve@digidescorp.com> [2010-10-21 07:28:08]:
>
> > Add the necessary calls to track VM anonymous page usage (only).
> >
> > V3 changes:
> > * Use vma->vm_mm instead of current->mm when charging pages, for clarity
> > * Document that reclaim is not possible with only anonymous page accounting
> > so the OOM-killer is invoked when a limit is exceeded
> > * Add TODO to implement file cache (reclaim) support or optimize away
> > page_cgroup->lru
> >
> > V2 changes:
> > * Added update of memory cgroup documentation
> > * Clarify use of 'file' to distinguish anonymous mappings
> >
> > Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
>
> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
>
> BTW, I have no way of testing this, we need to rely on the NOMMU
> community to test this.
>
Yes, that's the biggest problem.

-Kame



\
 
 \ /
  Last update: 2010-10-22 06:43    [from the cache]
©2003-2011 Jasper Spaans