[Devel] [PATCH -mm 4/6] memcg: interface to charge the right cgroup of asynchronous i/o activity

2008-10-07 Thread Andrea Righi
Implement get_cgroup_from_page() / put_cgroup_from_page() in the cgroup memory controller to retrieve the owner of a page during writes in submit_bio() processed asynchronously by kernel threads (i.e. pdflush). Note: right now this is no more than a hack to keep the things simpler; in perspective

[Devel] [PATCH -mm 4/6] memcg: interface to charge the right cgroup of asynchronous i/o activity

2008-09-17 Thread Andrea Righi
Implement get_cgroup_from_page() / put_cgroup_from_page() in the cgroup memory controller used to retrieve the owner of a page during writes in submit_bio() processed asynchronously by kernel threads (i.e. pdflush). Signed-off-by: Andrea Righi [EMAIL PROTECTED] --- include/linux/memcontrol.h |