Re: Allow setting of number of raw devices as a module parameter

From: Greg KH
Date: Fri Apr 29 2011 - 20:07:57 EST


On Fri, Apr 29, 2011 at 04:28:17PM -0700, Andrew Morton 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).
> >
>
> Changelog failed to describe why the patch is needed. Lacking that
> information, we have no reason to apply it.

Good point, how about:
People like running their machines with thousands of raw
devices, yet distros don't want to take up that much memory for
all users. Provide a way for everyone to be happy without
forcing the module to be rebuilt by providing the ability to
specify the number of raw devices as a module parameter option.

thanks,

greg k-h
--
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/