lkml.org 
[lkml]   [2010]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] percpu: add missing markup in mm/memcontrol.c
    Date
    mem_cgroup->stat is a percpu pointer but was missing __percpu markup.
    Add it.

    Signed-off-by: Namhyung Kim <namhyung@gmail.com>
    ---
    mm/memcontrol.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/mm/memcontrol.c b/mm/memcontrol.c
    index 20a8193..edf5011 100644
    --- a/mm/memcontrol.c
    +++ b/mm/memcontrol.c
    @@ -252,7 +252,7 @@ struct mem_cgroup {
    /*
    * percpu counter.
    */
    - struct mem_cgroup_stat_cpu *stat;
    + struct mem_cgroup_stat_cpu __percpu *stat;
    };

    /* Stuffs for move charges at task migration. */
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2010-08-07 17:29    [W:0.019 / U:33.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site