Re: [patch] SLQB v2

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ahmed S. Darwish <darwish.07@...>
Cc: Christoph Lameter <clameter@...>, Linux Memory Management List <linux-mm@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, April 30, 2008 - 9:54 pm

Hi, sorry I missed this message initially..

On Tue, Apr 15, 2008 at 05:44:07AM +0200, Ahmed S. Darwish wrote:

I'd like to see that. I have a patch for SLUB, actually.

 

Right. It actually isn't enough in some cases it turns out. I have increased
this a little bit in subsequent code (PAGE_SHIFT+8 I think is reasonable).
For SLUB they hand off to the page allocator instead. It isn't really a
big deal though, such allocations should be quite rare.



Yeah, it is a big rough around the edges ;) I have fixed this up.



Constant size is by far the most common case, and so the kmalloc slab
should actually be able to be found by the compiler in that case.



Could be an idea.



Right! I experimented ;)

 

Oh. Yeah the comments are going to be all wrong, sorry. Ignore them
and stick to the code.

Thanks,
Nick 

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

Messages in current thread:
[patch] SLQB v2, Nick Piggin, (Thu Apr 10, 3:31 pm)
Re: [patch] SLQB v2, Ahmed S. Darwish, (Mon Apr 14, 11:44 pm)
Re: [patch] SLQB v2, Nick Piggin, (Wed Apr 30, 9:54 pm)
Re: [patch] SLQB v2, Christoph Lameter, (Thu May 1, 3:29 pm)
Re: [patch] SLQB v2, Nick Piggin, (Thu May 1, 8:43 pm)
Re: [patch] SLQB v2, Christoph Lameter, (Thu May 1, 9:14 pm)
Re: [patch] SLQB v2, Nick Piggin, (Thu May 1, 9:23 pm)
Re: [patch] SLQB v2, Christoph Lameter, (Thu May 1, 9:28 pm)
Re: [patch] SLQB v2, Nick Piggin, (Thu May 1, 9:48 pm)