lkml.org 
[lkml]   [2013]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] memcg: do not check for do_swap_account in mem_cgroup_{read,write,reset}
On Tue, Mar 19, 2013 at 02:06:55PM +0100, Michal Hocko wrote:
> since 2d11085e (memcg: do not create memsw files if swap accounting
> is disabled) memsw files are created only if memcg swap accounting is
> enabled so there doesn't make any sense to check for it explicitely in
> mem_cgroup_read, mem_cgroup_write and mem_cgroup_reset.
>
> Signed-off-by: Michal Hocko <mhocko@suse.cz>

Acked-by: Johannes Weiner <hannes@cmpxchg.org>


\
 
 \ /
  Last update: 2013-03-27 16:42    [W:0.226 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site