From: Christoph Lameter <[EMAIL PROTECTED]> Date: Thu, 10 May 2007 15:44:12 -0700 (PDT)
> On Thu, 10 May 2007, David Miller wrote: > > > Ugh, it won't build, you can't use min() because this is > > evaluated at compile time to compute array sizes etc. > > > > include/linux/slub_def.h:76: error: braced-group within expression allowed > > only inside a function > > Rats. Then we have to do it by hand. This compiles here... Unfortunately, still no dice with LARGE_ALLOCS=y/SLUB=y on sparc64. It still tries to create the 16MB kmalloc cache even though MAX_ORDER is 11. :-) I think this is an off-by-one error, the kmalloc cache builder iterates to >= KMALLOC_SHIFT_HIGH but your min() on MAX_ORDER would only work if it iterated to > KMALLOC_SHIFT_HIGH. - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
