Re: [PATCH] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-06 Thread Michal Hocko
On Fri 03-03-17 18:53:56, Tahsin Erdogan wrote: > mem_cgroup_free() indirectly calls wb_domain_exit() which is not > prepared to deal with a struct wb_domain object that hasn't executed > wb_domain_init(). For instance, the following warning message is > printed by lockdep if alloc_percpu() fails

Re: [PATCH] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-06 Thread Michal Hocko
On Fri 03-03-17 18:53:56, Tahsin Erdogan wrote: > mem_cgroup_free() indirectly calls wb_domain_exit() which is not > prepared to deal with a struct wb_domain object that hasn't executed > wb_domain_init(). For instance, the following warning message is > printed by lockdep if alloc_percpu() fails

[PATCH] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-03 Thread Tahsin Erdogan
mem_cgroup_free() indirectly calls wb_domain_exit() which is not prepared to deal with a struct wb_domain object that hasn't executed wb_domain_init(). For instance, the following warning message is printed by lockdep if alloc_percpu() fails in mem_cgroup_alloc(): INFO: trying to register

[PATCH] mm: do not call mem_cgroup_free() from within mem_cgroup_alloc()

2017-03-03 Thread Tahsin Erdogan
mem_cgroup_free() indirectly calls wb_domain_exit() which is not prepared to deal with a struct wb_domain object that hasn't executed wb_domain_init(). For instance, the following warning message is printed by lockdep if alloc_percpu() fails in mem_cgroup_alloc(): INFO: trying to register