lkml.org 
[lkml]   [2010]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [PATCH][RESEND] nommu: add anonymous page memcg accounting
    Date

    Steven J. Magnani <steve@digidescorp.com> wrote:

    > Add the necessary calls to track VM anonymous page usage.

    Do we really need to do memcg accounting in NOMMU mode? Might it be better to
    just apply the attached patch instead?

    David
    ---
    diff --git a/init/Kconfig b/init/Kconfig
    index 2de5b1c..aecff10 100644
    --- a/init/Kconfig
    +++ b/init/Kconfig
    @@ -555,7 +555,7 @@ config RESOURCE_COUNTERS

    config CGROUP_MEM_RES_CTLR
    bool "Memory Resource Controller for Control Groups"
    - depends on CGROUPS && RESOURCE_COUNTERS
    + depends on CGROUPS && RESOURCE_COUNTERS && MMU
    select MM_OWNER
    help
    Provides a memory resource controller that manages both anonymous

    \
     
     \ /
      Last update: 2010-10-03 23:01    [W:0.020 / U:0.804 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site