lkml.org 
[lkml]   [2008]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm] Add an owner to the mm_struct (v2)
On Fri, 28 Mar 2008 16:21:16 +0530
Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> > -a bit off topic-
> > BTW, could you move mem_cgroup_from_task() to include/linux/memcontrol.h ?
> >
>
> Yes, that can be done
>
> > Then, I'll add an interface like
> > mem_cgroup_charge_xxx(struct page *page, struct mem_cgroup *mem, gfp_mask mask)
> >
> > This can be called in following way:
> > mem_cgroup_charge_xxx(page, mem_cgroup_from_task(current), GFP_XXX);
> > and I don't have to access mm_struct's member in this case.
> >
>
> OK. Will do. Can that wait until Andrew picks up these patches. Then I'll put
> that as an add-on?
>
Of course, I can wait.

Thanks,
-Kame



\
 
 \ /
  Last update: 2008-03-28 12:05    [W:0.071 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site