On Mon, 15 Jun 2015 17:51:56 +0200 Jesper Dangaard Brouer
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 cal
On Mon, 15 Jun 2015, Alexander Duyck wrote:
> So I can see the motivation behind bulk allocation, but I cannot see the
> motivation behind bulk freeing. In the case of freeing the likelihood of the
> memory regions all belonging to the same page just isn't as high.
The likelyhood is high if the
On 06/15/2015 08:51 AM, Jesper Dangaard Brouer wrote:
From: Christoph Lameter
[NOTICE: Already in AKPM's quilt-queue]
Add the basic infrastructure for alloc/free operations on pointer arrays.
It includes a generic function in the common slab code that is used in
this infrastructure patch to cr
From: Christoph Lameter
[NOTICE: Already in AKPM's quilt-queue]
Add the basic infrastructure for alloc/free operations on pointer arrays.
It includes a generic function in the common slab code that is used in
this infrastructure patch to create the unoptimized functionality for slab
bulk operati