[PATCH V2 1/3] slub: extend slowpath __slab_free() to handle bulk free

2015-08-23 Thread Jesper Dangaard Brouer
Make it possible to free a freelist with several objects by extending __slab_free() with two arguments: a freelist_head pointer and objects counter (cnt). If freelist_head pointer is set, then the object must be the freelist tail pointer. This allows a freelist with several objects (all within

[PATCH V2 1/3] slub: extend slowpath __slab_free() to handle bulk free

2015-08-23 Thread Jesper Dangaard Brouer
Make it possible to free a freelist with several objects by extending __slab_free() with two arguments: a freelist_head pointer and objects counter (cnt). If freelist_head pointer is set, then the object must be the freelist tail pointer. This allows a freelist with several objects (all within