[Devel] Re: [RFC][PATCH 2/7] RSS controller core
Andrew Morton
akpm at linux-foundation.org
Tue Mar 6 14:00:36 PST 2007
On Tue, 06 Mar 2007 17:55:29 +0300
Pavel Emelianov <xemul at sw.ru> wrote:
> +struct rss_container {
> + struct res_counter res;
> + struct list_head page_list;
> + struct container_subsys_state css;
> +};
> +
> +struct page_container {
> + struct page *page;
> + struct rss_container *cnt;
> + struct list_head list;
> +};
ah. This looks good. I'll find a hunk of time to go through this work
and through Paul's patches. It'd be good to get both patchsets lined
up in -mm within a couple of weeks. But..
We need to decide whether we want to do per-container memory limitation via
these data structures, or whether we do it via a physical scan of some
software zone, possibly based on Mel's patches.
More information about the Devel
mailing list