Re: [PATCH] slub: fix off by one in number of slab tests

2014-06-24 Thread David Rientjes
On Tue, 24 Jun 2014, Joonsoo Kim wrote: > min_partial means minimum number of slab cached in node partial > list. So, if nr_partial is less than it, we keep newly empty slab > on node partial list rather than freeing it. But if nr_partial is > equal or greater than it, it means that we have enough

Re: [PATCH] slub: fix off by one in number of slab tests

2014-06-24 Thread Vladimir Davydov
On Tue, Jun 24, 2014 at 04:44:01PM +0900, Joonsoo Kim wrote: > min_partial means minimum number of slab cached in node partial > list. So, if nr_partial is less than it, we keep newly empty slab > on node partial list rather than freeing it. But if nr_partial is > equal or greater than it, it means

[PATCH] slub: fix off by one in number of slab tests

2014-06-24 Thread Joonsoo Kim
min_partial means minimum number of slab cached in node partial list. So, if nr_partial is less than it, we keep newly empty slab on node partial list rather than freeing it. But if nr_partial is equal or greater than it, it means that we have enough partial slabs so should free newly empty slab. C