Rohit Seth wrote:
On Thu, 2006-08-17 at 10:23 -0700, Dave Hansen wrote:On Thu, 2006-08-17 at 10:16 -0700, Rohit Seth wrote:That said, it sure is simpler to implement, so I'm all for it!hmm, not sure why it is simpler.When you ask the question, "which container owns this page?", you don'thave to look far,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.
nor is it ambiguous in any way. It is very strict, and very straightforward.What additional ambiguity you have when inode or task structures have the required information.
inodes can belong to multiple containers and so do the pages. Kirill - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [RFC][PATCH] UBC: user resource beancounters
- From: Kirill Korotaev <[email protected]>
- [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Dave Hansen <[email protected]>
- Re: [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Rohit Seth <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Dave Hansen <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Alan Cox <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Dave Hansen <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Rohit Seth <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Dave Hansen <[email protected]>
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Rohit Seth <[email protected]>
- [RFC][PATCH] UBC: user resource beancounters
- Prev by Date: Re: [PATCH 1/1] network memory allocator.
- Next by Date: Re: IRQ Mis-matches in 2.6.17.7
- Previous by thread: Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- Next by thread: Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- Index(es):