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
Acked-by: Christoph Lameter
---
include/linux/slub_def.h | 5 +
1 file changed, 5 insertions(+)
diff
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
Acked-by: Christoph Lameter c...@linux.com
---
include/linux/slub_def.h | 5 +
1
2 matches
Mail list logo