Re: slab-alignment-rework.patch in -mc

From: Arjan van de Ven
Date: Tue Apr 20 2004 - 13:56:27 EST



> But why would you choose to make the "SLAB_HWCACHE_ALIGN clear" case use
> sizeof(void*) rather than sizeof(int)?
so that if you kmalloc a struct the pointers in it don't cause unaligned
exceptions on 64 bit ;)

Attachment: signature.asc
Description: This is a digitally signed message part