lkml.org 
[lkml]   [2008]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH 5/6] memcg: mem+swap controller
    > @@ -1286,30 +1507,33 @@ static int mem_control_stat_show(struct 
    > cb->fill(cb, "unevictable", unevictable * PAGE_SIZE);
    >
    > }
    > + /* showing refs from disk-swap */
    > + cb->fill(cb, "swap_on_disk", atomic_read(&mem_cont->swapref)
    > + * PAGE_SIZE);
    > return 0;
    > }
    >
    "if (do_swap_account)" is needed here too.


    Thanks,
    Daisuke Nishimura.


    \
     
     \ /
      Last update: 2008-11-07 14:33    [W:0.020 / U:1.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site