Re: [PATCH] SLUB: use page allocator for PAGE_SIZE requests

From: Vegard Nossum
Date: Sat Nov 22 2008 - 07:37:56 EST


On Sat, Nov 22, 2008 at 1:35 PM, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:
> On Sat, Nov 22, 2008 at 1:32 PM, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:
>> From 4d526db4781aaab86cb79ff8135bb0e2bc560598 Mon Sep 17 00:00:00 2001
>> From: Vegard Nossum <vegard.nossum@xxxxxxxxx>
>> Date: Sat, 22 Nov 2008 13:27:54 +0100
>> Subject: [PATCH] SLUB: use page allocator for PAGE_SIZE requests
>>
>> It seems strange that we should use the page allocator for
>> requests of (PAGE_SIZE + 1) bytes or more, and not for requests
>> that are exactly PAGE_SIZE.
>
> Actually, there are some more places that need to be fixed. I think
> I'll send an updated patch that fixes all of them.

ACTUALLY, please ignore whole thread. I now read the commit message of

commit 331dc558fa020451ff773973cee855fd721aa88e
Author: Christoph Lameter <clameter@xxxxxxx>
Date: Thu Feb 14 14:28:09 2008 -0800

slub: Support 4k kmallocs again to compensate for page allocator slowness

:-/

Sorry for the noise.


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/