Re: [RFC][PATCH 5/6] memcg: mem+swap controller

From: Daisuke Nishimura
Date: Sun Nov 09 2008 - 23:44:15 EST


> @@ -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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/