slab cache question

From: Balaji Ramani (balajir@research.nj.nec.com)
Date: Tue May 30 2000 - 11:26:39 EST


Hi all,

I am trying to use the slab cache allocator to allocate objects that are 64
byte aligned. When I create the cache with size=64, align=64 and
flags=SLAB_HWCACHE_ALIGN, the objects end up aligned on a 32 byte boundary. I
am using 2.2.15 on a Pentium II. Is there any way to force the allocator to
align objects at any arbitrary alignment, in this case 64 bytes?

Thanks,
Balaji

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:24 EST