commit | 9d100c5e470eaeee5809da289f22b0de165de6b2 | [log] [tgz] |
---|---|---|
author | Vladimir Davydov <vdavydov@parallels.com> | Fri Dec 12 16:54:53 2014 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Dec 13 12:42:46 2014 -0800 |
tree | 1ae444940e47ef41586c1370aff451224117cfa5 | |
parent | bfda7e8fe428ff4a42653d7b117d4598fc446cda [diff] |
memcg: don't check mm in __memcg_kmem_{get_cache,newpage_charge} We already assured the current task has mm in memcg_kmem_should_charge, no need to double check. 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>