lkml.org 
[lkml]   [2008]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 11/9] lazy lru free vector for memcg
[snip]

> @@ -938,6 +1047,7 @@ static int mem_cgroup_force_empty(struct
> * So, we have to do loop here until all lists are empty.
> */
> while (mem->res.usage > 0) {
> + drain_page_cgroup_all();

Shouldn't we wait here till the drain process completes?

> if (atomic_read(&mem->css.cgroup->count) > 0)
> goto out;
> for_each_node_state(node, N_POSSIBLE)


\
 
 \ /
  Last update: 2008-09-16 14:27    [W:0.076 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site