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

From: KAMEZAWA Hiroyuki
Date: Mon Nov 10 2008 - 02:04:20 EST


On Mon, 10 Nov 2008 13:30:54 +0900
Daisuke Nishimura <nishimura@xxxxxxxxxxxxxxxxx> wrote:

> > @@ -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.
>
>
nice catch. will be fixed in the next version.

Thanks a lot!

-Kame

--
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/