Re: [RFC][PATCH -mm 0/5] mem+swap resource controller(trial patch)

Daisuke Nishimura
2008-10-20T02:53:10Z

On Mon, 20 Oct 2008 09:24:09 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> On Fri, 17 Oct 2008 19:48:04 +0900
> Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> wrote:
>
> > Hi.
> >
> > I think Kamezawa-san is working on this now, I also made
> > a trial patch based on Kamezawa-san's v2.
> >
> yes, I'm now rewriting. I'm now considering whether we can implement easier
> protocol or not. But your patch's direction is not far from mine.
>
> > Unfortunately this patch doesn't work(I'll investigate),
> > but I post it to promote discussion on this topic.
> >
> What kind of problems ? accounting is not correct ?
>
I see "scheduling while atomic" bug(or system hangs) when
trying to swap out some pages.

I'm afraid I take a day off today, I don't have enough
log or information.

Sorry,
Daisuke Nishimura.

>
> > Major changes from v2:
> > - rebased on memcg-update-v7.
> > - add a counter to count real swap usage(# of swap entries).
> > - add arg "use_swap" to try_to_mem_cgroup_pages() and use it sc->may_swap.
> >
> >
> > Thanks,
> > Daisuke Nishimura.
> >
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: email@kvack.org