On Wed, 2007-10-31 at 14:43 +1100, Nick Piggin wrote: > On Wednesday 31 October 2007 03:04, Peter Zijlstra wrote: > > Provide a method to get the upper bound on the pages needed to allocate > > a given number of objects from a given kmem_cache. > > > > Fair enough, but just to make it a bit easier, can you provide a > little reason of why in this patch (or reference the patch number > where you use it, or put it together with the patch where you use > it, etc.). A generic reserve framework, as seen in patch 11/23, needs to be able convert from a object demand (kmalloc() bytes, kmem_cache_alloc() objects) to a page reserve.
Attachment:
signature.asc
Description: This is a digitally signed message part
- References:
- [PATCH 00/33] Swap over NFS -v14
- From: Peter Zijlstra <[email protected]>
- [PATCH 05/33] mm: kmem_estimate_pages()
- From: Peter Zijlstra <[email protected]>
- Re: [PATCH 05/33] mm: kmem_estimate_pages()
- From: Nick Piggin <[email protected]>
- [PATCH 00/33] Swap over NFS -v14
- Prev by Date: Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages
- Next by Date: Re: [PATCH 06/33] mm: allow PF_MEMALLOC from softirq context
- Previous by thread: Re: [PATCH 05/33] mm: kmem_estimate_pages()
- Next by thread: [PATCH 24/33] mm: prepare swap entry methods for use in page methods
- Index(es):