Re: [PATCH v3] zsmalloc: merge size_class to reduce fragmentation

2014-09-29 Thread Joonsoo Kim
On Fri, Sep 26, 2014 at 04:48:45PM -0400, Dan Streetman wrote: > On Fri, Sep 26, 2014 at 2:27 AM, Joonsoo Kim wrote: > > zsmalloc has many size_classes to reduce fragmentation and they are > > in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. > > And, zsmalloc has constraint t

Re: [PATCH v3] zsmalloc: merge size_class to reduce fragmentation

2014-09-26 Thread Dan Streetman
On Fri, Sep 26, 2014 at 2:27 AM, Joonsoo Kim wrote: > zsmalloc has many size_classes to reduce fragmentation and they are > in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. > And, zsmalloc has constraint that each zspage has 4 pages at maximum. > > In this situation, we can s