Re: [PATCH v7 05/12] mm: slub: introduce virt_to_obj function.

2014-11-24 Thread Christoph Lameter
On Mon, 24 Nov 2014, Andrey Ryabinin wrote: > virt_to_obj takes kmem_cache address, address of slab page, > address x pointing somewhere inside slab object, > and returns address of the begging of object. Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v7 05/12] mm: slub: introduce virt_to_obj function.

2014-11-24 Thread Andrey Ryabinin
virt_to_obj takes kmem_cache address, address of slab page, address x pointing somewhere inside slab object, and returns address of the begging of object. Signed-off-by: Andrey Ryabinin --- include/linux/slub_def.h | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v7 05/12] mm: slub: introduce virt_to_obj function.

2014-11-24 Thread Andrey Ryabinin
virt_to_obj takes kmem_cache address, address of slab page, address x pointing somewhere inside slab object, and returns address of the begging of object. Signed-off-by: Andrey Ryabinin a.ryabi...@samsung.com --- include/linux/slub_def.h | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH v7 05/12] mm: slub: introduce virt_to_obj function.

2014-11-24 Thread Christoph Lameter
On Mon, 24 Nov 2014, Andrey Ryabinin wrote: virt_to_obj takes kmem_cache address, address of slab page, address x pointing somewhere inside slab object, and returns address of the begging of object. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line