Re: [PATCH v2 00/15] slab: overload struct slab over struct pageto reduce memory usage

From: Pekka Enberg
Date: Thu Oct 17 2013 - 03:20:17 EST


On 10/16/13 10:34 PM, Andrew Morton wrote:
On Wed, 16 Oct 2013 17:43:57 +0900 Joonsoo Kim <iamjoonsoo.kim@xxxxxxx> wrote:

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
waste and cache footprint if we overload struct slab over struct page.
Seems a good idea from a quick look.

Indeed.

Christoph, I'd like to pick this up and queue for linux-next. Any
objections or comments to the patches?

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