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    [from the cache]
©2003-2011 Jasper Spaans