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_ALIG
On 05/19/2010 03:30 PM, Johannes Stezenbach wrote:
Hi,
I have some comments/questions, I hope it's not too silly:
On Wed, May 19, 2010 at 12:01:42PM +0100, David Woodhouse wrote:
+#ifndef ARCH_KMALLOC_MINALIGN
+/*
+ * Enforce a minimum alignment for the kmalloc caches.
+ * Usually, the kma