Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
mm owner is exiting, just return root_mem_cgroup. This makes sense
for all callsites and gets rid of some of them having to fallback
manually.
Signed-off-by: Johannes Weiner
Acked-by: Michal Hocko
---
mm/memcontrol.c | 18
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
mm owner is exiting, just return root_mem_cgroup. This makes sense
for all callsites and gets rid of some of them having to fallback
manually.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
Acked-by: Michal Hocko
On Fri 07-02-14 12:04:23, Johannes Weiner wrote:
> Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
> mm owner is exiting, just return root_mem_cgroup. This makes sense
> for all callsites and gets rid of some of them having to fallback
> manually.
It makes sense now that css
On Fri 07-02-14 12:04:23, Johannes Weiner wrote:
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
mm owner is exiting, just return root_mem_cgroup. This makes sense
for all callsites and gets rid of some of them having to fallback
manually.
It makes sense now that css
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
mm owner is exiting, just return root_mem_cgroup. This makes sense
for all callsites and gets rid of some of them having to fallback
manually.
Signed-off-by: Johannes Weiner
---
mm/memcontrol.c | 18 --
1 file
Instead of returning NULL from try_get_mem_cgroup_from_mm() when the
mm owner is exiting, just return root_mem_cgroup. This makes sense
for all callsites and gets rid of some of them having to fallback
manually.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
---
mm/memcontrol.c | 18
6 matches
Mail list logo