Re: [PATCH] Slab infrastructure for array operations

2014-12-19 Thread Christoph Lameter
On Fri, 19 Dec 2014, Jesper Dangaard Brouer wrote: > > > Allocators must define _HAVE_SLAB_ALLOCATOR_OPERATIONS in their > > > header files in order to implement their own fast version for > > > these array operations. > > I would like to see an implementation of a fast-version. Else it is >

Re: [PATCH] Slab infrastructure for array operations

2014-12-19 Thread Jesper Dangaard Brouer
On Thu, 18 Dec 2014 14:06:29 -0800 Andrew Morton wrote: > On Thu, 18 Dec 2014 10:33:23 -0600 (CST) Christoph Lameter > wrote: > > > This patch adds the basic infrastructure for alloc / free operations > > on pointer arrays. > > Please provide the justification/reason for making this

Re: [PATCH] Slab infrastructure for array operations

2014-12-19 Thread Jesper Dangaard Brouer
On Thu, 18 Dec 2014 14:06:29 -0800 Andrew Morton a...@linux-foundation.org wrote: On Thu, 18 Dec 2014 10:33:23 -0600 (CST) Christoph Lameter c...@linux.com wrote: This patch adds the basic infrastructure for alloc / free operations on pointer arrays. Please provide the

Re: [PATCH] Slab infrastructure for array operations

2014-12-19 Thread Christoph Lameter
On Fri, 19 Dec 2014, Jesper Dangaard Brouer wrote: Allocators must define _HAVE_SLAB_ALLOCATOR_OPERATIONS in their header files in order to implement their own fast version for these array operations. I would like to see an implementation of a fast-version. Else it is difficult to

Re: [PATCH] Slab infrastructure for array operations

2014-12-18 Thread Andrew Morton
On Thu, 18 Dec 2014 10:33:23 -0600 (CST) Christoph Lameter wrote: > This patch adds the basic infrastructure for alloc / free operations > on pointer arrays. Please provide the justification/reason for making this change. > It includes a fallback function. I don't know what this means.

[PATCH] Slab infrastructure for array operations

2014-12-18 Thread Christoph Lameter
This patch adds the basic infrastructure for alloc / free operations on pointer arrays. It includes a fallback function. Allocators must define _HAVE_SLAB_ALLOCATOR_OPERATIONS in their header files in order to implement their own fast version for these array operations. Signed-off-by: Christoph

[PATCH] Slab infrastructure for array operations

2014-12-18 Thread Christoph Lameter
This patch adds the basic infrastructure for alloc / free operations on pointer arrays. It includes a fallback function. Allocators must define _HAVE_SLAB_ALLOCATOR_OPERATIONS in their header files in order to implement their own fast version for these array operations. Signed-off-by: Christoph

Re: [PATCH] Slab infrastructure for array operations

2014-12-18 Thread Andrew Morton
On Thu, 18 Dec 2014 10:33:23 -0600 (CST) Christoph Lameter c...@linux.com wrote: This patch adds the basic infrastructure for alloc / free operations on pointer arrays. Please provide the justification/reason for making this change. It includes a fallback function. I don't know what this