Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, October 31, 2007 - 3:42 am

On Wed, 2007-10-31 at 14:37 +1100, Nick Piggin wrote:

Ah, we actually need slabs below the watermarks. Its just that once I
allocated those slabs using __GFP_MEMALLOC/PF_MEMALLOC I don't want
allocation contexts that do not have rights to those pages to walk off
with objects.

So, this generic reserve framework still uses the slab allocator to
provide certain kind of objects (kmalloc, kmem_cache_alloc), it just
separates those that are and are not entitled to the reserves.
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 03/33] mm: slub: add knowledge of reserve pages, Peter Zijlstra, (Tue Oct 30, 9:04 am)
Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages, Peter Zijlstra, (Wed Oct 31, 3:42 am)
Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages, Peter Zijlstra, (Wed Oct 31, 5:17 am)
Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages, Peter Zijlstra, (Wed Oct 31, 5:54 am)
Re: [PATCH 03/33] mm: slub: add knowledge of reserve pages, Peter Zijlstra, (Wed Oct 31, 6:08 am)