Re: [PATCH 2/2] slob: introduce the SLOB allocator

From: Rob Landley
Date: Tue Nov 01 2005 - 15:57:26 EST


On Tuesday 01 November 2005 12:33, Matt Mackall wrote:
> SLOB is a traditional K&R/UNIX allocator with a SLAB emulation layer,
> similar to the original Linux kmalloc allocator that SLAB replaced.
> It's signicantly smaller code and is more memory efficient. But like
> all similar allocators, it scales poorly and suffers from
> fragmentation more than SLAB, so it's only appropriate for small
> systems.

Just to clarify: define "small". My current laptop has half a gigabyte of
ram. (Yeah, I broke down and bought a real machine, and even kept a World of
Warcraft partition this time...)

Does small mean "this is better for laptops with < 4gig"? In which case,
possibly this should be tied to CONFIG_HIGHMEM or some such?

Rob
-
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/