On Mon, 15 Jun 2015 17:51:56 +0200 Jesper Dangaard Brouer <bro...@redhat.com> 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 from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html