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

Daisuke Nishimura
2008-10-17T10:48:04Z

Hi.

I think Kamezawa-san is working on this now, I also made
a trial patch based on Kamezawa-san's v2.

Unfortunately this patch doesn't work(I'll investigate),
but I post it to promote discussion on this topic.

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.