[PATCH V2 2/3] slub: optimize bulk slowpath free by detached freelist

2015-08-23 Thread Jesper Dangaard Brouer
This change focus on improving the speed of object freeing in the "slowpath" of kmem_cache_free_bulk. The slowpath call __slab_free() have been extended with support for bulk free, which amortize the overhead of the locked cmpxchg_double_slab. To use the new bulking feature of __slab_free(), we

[PATCH V2 2/3] slub: optimize bulk slowpath free by detached freelist

2015-08-23 Thread Jesper Dangaard Brouer
This change focus on improving the speed of object freeing in the slowpath of kmem_cache_free_bulk. The slowpath call __slab_free() have been extended with support for bulk free, which amortize the overhead of the locked cmpxchg_double_slab. To use the new bulking feature of __slab_free(), we