Re: [RFC/PATCH v2 04/10] mm: slub: introduce virt_to_obj function.
From: Andrey Ryabinin
Date: Wed Sep 10 2014 - 16:32:39 EST
2014-09-10 20:16 GMT+04:00 Christoph Lameter <cl@xxxxxxxxx>:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/