[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070515172957.02d80d51.akpm@linux-foundation.org>
Date: Tue, 15 May 2007 17:29:57 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: David Miller <davem@...emloft.net>
Cc: clameter@....com, mroos@...ux.ee, sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: slab hang on boot
On Tue, 15 May 2007 17:14:47 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:
> From: Andrew Morton <akpm@...ux-foundation.org>
> Date: Tue, 15 May 2007 16:56:36 -0700
>
> > On Tue, 15 May 2007 16:45:22 -0700 (PDT)
> > Christoph Lameter <clameter@....com> wrote:
> >
> > > KMALLOC_SHIFT_HIGH is not a constant but may be less than 25.
> >
> > It darn well better be a compile-time constant.
>
> Try to define a compile-time array size with it smarty
> pants :-)
confusedy pants, more like.
> That's what we did initially and it doesn't work.
This:
struct kmem_cache kmalloc_caches[KMALLOC_SHIFT_HIGH + 1] __cacheline_aligned;
is still there.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists