Re: [PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-09-04 Thread Joonsoo Kim
On Wed, Sep 04, 2013 at 11:38:04AM +0800, Wanpeng Li wrote: > Hi Joonsoo, > On Fri, Aug 23, 2013 at 03:35:39PM +0900, Joonsoo Kim wrote: > >On Thu, Aug 22, 2013 at 04:47:25PM +, Christoph Lameter wrote: > >> On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > [...] > >struct slab's free = END > >kmem

Re: [PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 04:47:25PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > And this patchset change a management method of free objects of a slab. > > Current free objects management method of the slab is weird, because > > it touch random position of the ar

Re: [PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-08-22 Thread Christoph Lameter
On Thu, 22 Aug 2013, Joonsoo Kim wrote: > And this patchset change a management method of free objects of a slab. > Current free objects management method of the slab is weird, because > it touch random position of the array of kmem_bufctl_t when we try to > get free object. See following example.

[PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-08-22 Thread Joonsoo Kim
There is two main topics in this patchset. One is to reduce memory usage and the other is to change a management method of free objects of a slab. The SLAB allocate a struct slab for each slab. The size of this structure except bufctl array is 40 bytes on 64 bits machine. We can reduce memory wast