Messages in this thread | | | Subject | Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core) | From | Dave Hansen <> | Date | Fri, 18 Aug 2006 07:52:42 -0700 |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |