Messages in this thread | | | Date | Thu, 11 Sep 2014 00:32:34 +0400 | Subject | Re: [RFC/PATCH v2 04/10] mm: slub: introduce virt_to_obj function. | From | Andrey Ryabinin <> |
| |
2014-09-10 20:16 GMT+04:00 Christoph Lameter <cl@linux.com>: > On Wed, 10 Sep 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. > > This function is SLUB specific. Does it really need to be in slab.h? >
Oh, yes this should be in slub.c
-- Best regards, Andrey Ryabinin
| |