commit | 900a38f027b37b55ebe157a0cb31de351b91e4e2 | [log] [tgz] |
---|---|---|
author | Vladimir Davydov <vdavydov@parallels.com> | Fri Dec 12 16:55:10 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Dec 13 12:42:46 2014 -0800 |
tree | 147390438f5775f12909dad348b0126c6d27cd70 | |
parent | c313dc5dedbc9b51bb7a77959ffbda44712ac2e1 [diff] |
memcg: zap kmem_account_flags The only such flag is KMEM_ACCOUNTED_ACTIVE, but it's set iff mem_cgroup->kmemcg_id is initialized, so we can check kmemcg_id instead of having a separate flags field. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>