[lkml]   [2011]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Allow setting of number of raw devices as a module parameter
On Fri, 29 Apr 2011 16:28:17 -0700
Andrew Morton <> wrote:

> On Fri, 29 Apr 2011 00:24:29 +0200
> Jan Kara <> 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)

 \ /
  Last update: 2011-04-30 12:31    [W:0.087 / U:3.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site