On Tue, 10 Jul 2007, Nick Piggin wrote: > > O(n) memory savings? What is that? > > Allocate n things and your memory waste is proportional to n (well that's > O(n) waste, so I guess by savings I mean that SLOB's memory saving compared > to SLUB are proportional to n). n is the size of the object? Its linear correlated to the object size. It does not grow exponentially as object size grows. Waste in the kmalloc array in the worst case is < objsize. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Matt Mackall <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Nick Piggin <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- References:
- [patch 00/10] [RFC] SLUB patches for more functionality, performance and maintenance
- From: Christoph Lameter <[email protected]>
- [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Christoph Lameter <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Ingo Molnar <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Andrew Morton <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Nick Piggin <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Christoph Lameter <[email protected]>
- Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- From: Nick Piggin <[email protected]>
- [patch 00/10] [RFC] SLUB patches for more functionality, performance and maintenance
- Prev by Date: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- Next by Date: Re: Concerning a post that you made about expandable anonymous shared mappings
- Previous by thread: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- Next by thread: Re: [patch 09/10] Remove the SLOB allocator for 2.6.23
- Index(es):