lkml.org 
[lkml]   [2008]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 5/6] memcg: mem+swap controller
> @@ -1062,13 +1208,55 @@ int mem_cgroup_resize_limit(struct mem_c
> break;
> }
> progress = try_to_free_mem_cgroup_pages(memcg,
> - GFP_HIGHUSER_MOVABLE);
> + GFP_HIGHUSER_MOVABLE, false);
> if (!progress)
> retry_count--;
> }
> return ret;
> }
>
mem_cgroup_resize_limit() should verify that mem.limit <= memsw.limit
as mem_cgroup_resize_memsw_limit() does.


Thanks,
Daisuke Nishimura.


\
 
 \ /
  Last update: 2008-11-10 05:47    [W:0.207 / U:7.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site