On Mon, 15 Jun 2015 17:51:56 +0200 Jesper Dangaard Brouer <brouer@xxxxxxxxxx> wrote: > +bool kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, > + void **p) > +{ > + return kmem_cache_alloc_bulk(s, flags, size, p); > +} hm, any call to this function is going to be nasty, brutal and short. --- a/mm/slab.c~slab-infrastructure-for-bulk-object-allocation-and-freeing-v3-fix +++ a/mm/slab.c @@ -3425,7 +3425,7 @@ EXPORT_SYMBOL(kmem_cache_free_bulk); bool kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p) { - return kmem_cache_alloc_bulk(s, flags, size, p); + return __kmem_cache_alloc_bulk(s, flags, size, p); } EXPORT_SYMBOL(kmem_cache_alloc_bulk); _ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>