[Devel] Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
Dave Hansen
haveblue at us.ibm.com
Fri Aug 18 07:52:42 PDT 2006
On Fri, 2006-08-18 at 12:54 +0400, Kirill Korotaev wrote:
> > as in page->mapping->container for user land?
> in case of anon_vma, page->mapping can be the same
> for 2 pages beloning to different containers.
page->mapping->container is the logical way to think about it, but it is
quite easy to get from a mapping, using the VMA list, to the mms mapping
a page. It wouldn't be a horrible stretch to get back to the tasks (or
directly to the container) from that mm.
Has anyone ever thought of keeping a list of tasks using an mm as a list
hanging off an mm?
-- Dave
More information about the Devel
mailing list