Re: [PATCH 08/29] mm: kmem_cache_objs_to_pages()
From: Pekka Enberg <hidden>
Date: 2007-02-22 09:45:58
Also in:
linux-mm, lkml
From: Pekka Enberg <hidden>
Date: 2007-02-22 09:45:58
Also in:
linux-mm, lkml
Hi Peter, On Wed, 2007-02-21 at 17:47 +0200, Pekka Enberg wrote:
quoted
So how does this work? You ask the slab allocator how many pages you need for a given number of objects and then those pages are available to it via the page allocator? Can other users also dip into those reserves?
On 2/22/07, Peter Zijlstra [off-list ref] wrote:
Everybody (ab)using PF_MEMALLOC or the new __GFP_EMERGENCY.
So you are only interested in rough estimation of how much many pages
you need for a given amount of objects? Why not use ksize() for that
then?
Pekka