Re: Allow setting of number of raw devices as a module parameter
From: Alan Cox
Date: Sat Apr 30 2011 - 06:28:36 EST
On Fri, 29 Apr 2011 16:28:17 -0700
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 29 Apr 2011 00:24:29 +0200
> Jan Kara <jack@xxxxxxx> wrote:
>
> > Allow setting of maximal number of raw devices as a module parameter. This
> > requires changing of static array into a vmalloced one (the array is going to
> > be too large for kmalloc).
A large vmalloc array is very antisocial on a 32bit x86 box. It looks
like almost all of it would become sane if there was an array of pointers
to raw devices and the devices were initially allocated on need (even if
for now only recovered on rmmod)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/