On 05/19/2010 08:10 PM, David Woodhouse wrote:
* Unless debug options are enabled, the kernel uses cache_line_size()
automatically.
... that's a lie.

You are right, I didn't notice that there are now 8 and 16-byte kmalloc caches.

Apart from that:

KMALLOC_FLAGS is SLAB_HWCACHE_ALIGN.
SLAB_HWCACHE_ALIGN defaults the alignment to cache_line_size().


Did I overlook anything else?

--
    Manfred
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to