diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-04-07 22:37:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 23:35:56 (GMT) |
commit | 03583f1a631c0511dfd2f16e716d5b40f675de5a (patch) | |
tree | 0fb831a01eb2931f73081d90f6a9951a017e06a4 /drivers/mfd/tc3589x.c | |
parent | 284f39afeaa4ab1409b8f43b29cdea3007960ee3 (diff) | |
download | linux-03583f1a631c0511dfd2f16e716d5b40f675de5a.tar.xz |
memcg: remove unnecessary !mm check from try_get_mem_cgroup_from_mm()
Users pass either a mm that has been established under task lock, or use
a verified current->mm, which means the task can't be exiting.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/tc3589x.c')
0 files changed, 0 insertions, 0 deletions