Messages in this thread | | | Date | Sun, 05 Dec 2004 22:30:46 +0100 | From | Manfred Spraul <> | Subject | Re: [PATCH] ARCH_SLAB_MINALIGN for 2.6.10-rc3 |
| |
Hi Paul,
>--- orig/include/asm-sh64/uaccess.h >+++ mod/include/asm-sh64/uaccess.h >@@ -313,6 +313,12 @@ > sh64 at the moment). */ > #define ARCH_KMALLOC_MINALIGN 8 > >+/* >+ * We want 8-byte alignment for the slab caches as well, otherwise we have >+ * the same BYTES_PER_WORD (sizeof(void *)) min align in kmem_cache_create(). >+ */ >+#define ARCH_SLAB_MINALIGN 8 >+ > > Could you make that dependant on !CONFIG_DEBUG_SLAB? Setting align to a non-zero value disables some debug code.
The rest is fine with me.
-- Manfred - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |