Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tejun Heo
Date: Tuesday, August 17, 2010 - 12:55 am

Hello,

On 08/17/2010 06:56 AM, David Rientjes wrote:

Hmmm... do you mean adding @gfp_mask to percpu allocation function?
I've been thinking about adding it for atomic allocations (Christoph,
do you still want it?).  I've been sort of against it because I
primarily don't really like atomic allocations (it often just pushes
error handling complexities elsewhere where it becomes more complex)
and it would also require making vmalloc code do atomic allocations.

Most of percpu use cases seem pretty happy with GFP_KERNEL allocation,
so I'm still quite reluctant to change that.  We can add a semi
internal interface w/ @gfp_mask but w/o GFP_ATOMIC support, which is a
bit ugly.  How important would this be?

Thanks.

-- 
tejun
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 07/23] slub: Use kmem_cache flags to detect if slab ..., Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 08/23] slub: remove dynamic dma slab allocation, Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 11/23] slub: Dynamically size kmalloc cache allocations, Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 12/23] slub: Extract hooks for memory checkers from ..., Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 13/23] slub: Move gfpflag masking out of the hotpath, Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 15/23] slub: Allow resizing of per cpu queues, Christoph Lameter, (Tue Aug 3, 7:45 pm)
[S+Q3 16/23] slub: Get rid of useless function count_free(), Christoph Lameter, (Tue Aug 3, 7:45 pm)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), David Rientjes, (Tue Aug 3, 9:39 pm)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Wed Aug 4, 9:17 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), David Rientjes, (Thu Aug 5, 1:38 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Thu Aug 5, 10:33 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), David Rientjes, (Mon Aug 16, 9:56 pm)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Tejun Heo, (Tue Aug 17, 12:55 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 17, 6:56 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 17, 10:23 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 17, 10:29 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), David Rientjes, (Tue Aug 17, 11:02 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 17, 11:47 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), David Rientjes, (Tue Aug 17, 11:54 am)
Re: [S+Q3 00/23] SLUB: The Unified slab allocator (V3), Christoph Lameter, (Tue Aug 17, 12:34 pm)