Dave Hansen wrote:
My main thought is that _everybody_ is going to have to live with the entry in the 'struct page'. Distros ship one kernel for everybody, and the cost will be paid by those not even using any kind of resource control or containers.
Every userspace or page cache page will be in an object though. Could we do the pointer on a per object (mapping, anon vma, ...) basis? Kernel pages are not using all of their struct page entries, so we could overload a field. It all depends on how much we really care about not growing struct page :) -- What is important? What you want to be true, or what is true? - 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:
- Re: [ckrm-tech] [RFC][PATCH 5/7] UBC: kernel memory accounting (core)
- From: Kirill Korotaev <[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)
- 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]>
- [RFC][PATCH] UBC: user resource beancounters
- Prev by Date: Re: [PATCH 1/6] IP100A, add end of pci id table
- Next by Date: Re: [PATCH,RFC]: acpi,backlight: MSI S270 - driver, second try
- 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):