Re: [patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-03 Thread Michal Hocko
On Mon 02-06-14 17:51:25, David Rientjes wrote: > From: Hugh Dickins > > mem_cgroup_force_empty_list() can iterate a large number of pages on an lru > and > mem_cgroup_move_parent() doesn't return an errno unless certain criteria, > none > of which indicate that the iteration may be taking

Re: [patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-03 Thread Michal Hocko
On Mon 02-06-14 17:51:25, David Rientjes wrote: From: Hugh Dickins hu...@google.com mem_cgroup_force_empty_list() can iterate a large number of pages on an lru and mem_cgroup_move_parent() doesn't return an errno unless certain criteria, none of which indicate that the iteration may be

Re: [patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread Johannes Weiner
On Mon, Jun 02, 2014 at 05:51:25PM -0700, David Rientjes wrote: > From: Hugh Dickins > > mem_cgroup_force_empty_list() can iterate a large number of pages on an lru > and > mem_cgroup_move_parent() doesn't return an errno unless certain criteria, > none > of which indicate that the iteration

[patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread David Rientjes
From: Hugh Dickins mem_cgroup_force_empty_list() can iterate a large number of pages on an lru and mem_cgroup_move_parent() doesn't return an errno unless certain criteria, none of which indicate that the iteration may be taking too long, is met. We have encountered the following stack trace

[patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread David Rientjes
From: Hugh Dickins hu...@google.com mem_cgroup_force_empty_list() can iterate a large number of pages on an lru and mem_cgroup_move_parent() doesn't return an errno unless certain criteria, none of which indicate that the iteration may be taking too long, is met. We have encountered the

Re: [patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread Johannes Weiner
On Mon, Jun 02, 2014 at 05:51:25PM -0700, David Rientjes wrote: From: Hugh Dickins hu...@google.com mem_cgroup_force_empty_list() can iterate a large number of pages on an lru and mem_cgroup_move_parent() doesn't return an errno unless certain criteria, none of which indicate that the